bennyxqg / lua-alchemy

Automatically exported from code.google.com/p/lua-alchemy
0 stars 0 forks source link

2byte character problem #133

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run http://lua-alchemy.googlecode.com/svn/trunk/demo/index.html
2. Third line like this below
   label.text = "Hello World"

3. Change code like below
   label.text = "안녕" // 2byte character(Chiness, Korean, Japaness)

4. Look at the 'Output' Panel, error occurred like below
   luaDoString:4: ')' expected near '<eof>'

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Flash player 10.1

Please provide any additional information below.

Original issue reported on code.google.com by woomun.j...@gmail.com on 21 Oct 2010 at 6:40

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, 2-byte characters in string literals are not supported at the moment.
You may want to encode them with \nnn octal codes, separately for each byte.

Original comment by aglad...@gmail.com on 4 Nov 2010 at 2:48

GoogleCodeExporter commented 9 years ago
BTW, patches are welcome.

Original comment by aglad...@gmail.com on 17 Nov 2010 at 6:36

GoogleCodeExporter commented 9 years ago
Looks like rebuilding lua-alchemy.swc with newer Flex SDK (3.2) does solve this 
problem.

Original comment by aglad...@gmail.com on 17 Nov 2010 at 1:21

GoogleCodeExporter commented 9 years ago
Should be fixed in 0.2.2

Original comment by aglad...@gmail.com on 16 Apr 2011 at 8:44