flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yishay Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-35301) [FlexJS, FalconJX] Unicode chars emitted differently in mac and windows
Date Sun, 30 Apr 2017 09:12:04 GMT

     [ https://issues.apache.org/jira/browse/FLEX-35301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yishay Weiss updated FLEX-35301:
--------------------------------
    Description: 
"\uE000" is emitted as a box on mac and a quetion mark on windows (tested on 2 machines, one
of each OS). This means that using a regexp such as
/\uE000/g/
results in an error in windows because it evaluates to

/?/g which is invalid.

Workaround is to replace /\uE000/g/ with new RegExp("\\" + "uE000", "g")




  was:
"\uE000" is emitted as a box on mac and a quetion mark on windows (tested on 2 machines, one
of each OS). This means that using a regexp such as
/\uE000/g/
results in an error in windows because it evaluates to

/?/g which is ivalid.



> [FlexJS, FalconJX] Unicode chars emitted differently in mac and windows
> -----------------------------------------------------------------------
>
>                 Key: FLEX-35301
>                 URL: https://issues.apache.org/jira/browse/FLEX-35301
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FalconJX
>    Affects Versions: Apache FlexJS 0.7.0
>            Reporter: Yishay Weiss
>
> "\uE000" is emitted as a box on mac and a quetion mark on windows (tested on 2 machines,
one of each OS). This means that using a regexp such as
> /\uE000/g/
> results in an error in windows because it evaluates to
> /?/g which is invalid.
> Workaround is to replace /\uE000/g/ with new RegExp("\\" + "uE000", "g")



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message