Hi Alex , 

Because  of FB I put the -Dfile.encoding=UTF8 in asjsc.bat. 


Thanks 

Spiros

-----Original Message-----
From: Alex Harui [mailto:[email protected]] 
Sent: Wednesday, April 10, 2019 7:26 AM
To: [email protected]
Subject: Re: String escape seq \x and \u not working

Are you running on Windows?  If so, you may need to set JAVA_TOOL_OPTIONS for 
utf8.  There are some past threads on that.

-Alex

On 4/9/19, 6:39 PM, "spiros" <[email protected]> wrote:

    Hi everyone 
    
     
    
    I trying to convert a as3 string with with escape seq ro js equivalent .
    
    For example for  the as3 code :
    
           var str:String = "\xc9\u80FF\u00C9";
    
    I get in Js this;
    
                  
    
      var /** @type {string} */ str = "???";
    
     
    
    Is there a way to get the correct representation in js (compiler flag or a
    different use of string 
    
     
    
     
    
     
    
    Spiros 
    
     
    
     
    
     
    
     
    
     
    
    


Reply via email to