Skip to content

Unicode support in implementation of parseInt #405

@ruben-ayrapetyan

Description

@ruben-ayrapetyan

Hello.

Implementation of parseInt (ecma-builtin-global.cpp) should be updated to use UTF-8 iterators for processing characters buffer.

Comment of @zherczeg in #394:

Is this correct? If I understand correctly, we just pass a byte, rather than an uint16_t character. I think we should rewrite this to use the UTF iterators, since there are line terminators and white spaces outside of the [0-127] byte range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions