|Re: [ATL] Unicode string literals in transformation [message #758116 is a reply to message #757871]
||Mon, 21 November 2011 22:22
| Nikolay Kasyanov
Registered: September 2010
Thank you for reply, it made me investigate more.
I found that problem is in ATL -> ASM compilation. Unicode literal written in asm file as is, but encoding in xml header is ISO-8859-1, so, when asm loaded by VM, literal is broken.
I tried to edit asm by hand & added my literal in escaped form, i.e. something like:
and now output model is ok, no problems with encoding.
What is the best solution for this? Maybe I should file a bug? It's not very handy to edit asm file before every deploy.
Also when I tried to add literal in atl file in \uXXXX notation, ATL builder encountered null pointer exception.
[Updated on: Mon, 21 November 2011 22:24]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02002 seconds