[ 
https://issues.apache.org/jira/browse/FLEX-35233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15855524#comment-15855524
 ] 

Justin Mclean edited comment on FLEX-35233 at 2/7/17 7:58 AM:
--------------------------------------------------------------

I just tried this and it worked for me. Here's the generated JS code. The 
Chinese text shows up in the label as well.

{code}
Main.prototype.initialise = function() {
  var /** @type {string} */ chinese = "你好";
  this.myPanel.label.text = chinese;
};
{code}



was (Author: jmclean):
I just tried this and it worked for me. Here's the generated JS code. The 
Chinese text shows up on the screen as well.

{code}
Main.prototype.initialise = function() {
  var /** @type {string} */ chinese = "你好";
  this.myPanel.label.text = chinese;
};
{code}


> flexjs chinese font
> -------------------
>
>                 Key: FLEX-35233
>                 URL: https://issues.apache.org/jira/browse/FLEX-35233
>             Project: Apache Flex
>          Issue Type: Bug
>            Reporter: lizhi
>            Assignee: Alex Harui
>
> var s:String="你好";
> get js
> var s="**"



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

Reply via email to