|
From: Arno P. <ar...@pu...> - 2011-04-13 21:00:24
|
UTF-16 is currently not supported (both in Objective-C and C backend).
I'll look into it.
Arno
On 4/13/11 11:16 AM, Panayotis Katsaloulis wrote:
>
> On Apr 13, 2011, at 9:00 PM, Paul Poley wrote:
>
>> Arno submitted a fix in March that should address this issue. Namely
>> see revisions 1534, 1535 & 1563.
>>
>> But if there are other unicode issues, yes, please bring them to
>> light. I want to say unicode characters should escape properly, but I
>> wouldn't make a huge wager on it.
>
> Well, it *is* for me, since my native language is greek and
> unfortunately if I want to create an application, I have to do a custom
> i18n, so that I would be able to display anything in my own language.
>
> Let's take an example:
>
> public static void main(String[] args) {
> System.out.println("Γεια!");
> UIApplication.main(args, null, Main.class);
> }
>
>
> and in ObjC
>
> + (void) main___java_lang_String_ARRAYTYPE :(XMLVMArray*)n1
> {
> XMLVMElem _r0;
> XMLVMElem _r1;
> XMLVMElem _r2;
> _r2.o = n1;
> _r0.o = JAVA_NULL;
> _r1.o = JAVA_NULL;
> [_r2.o retain];
> _r0.o= [java_lang_System_GET_out];
> [_r0.o retain];
> _r1.o= @"\1623\1665\1671\1661!";
> [((java_io_PrintStream*) _r0.o) println___java_lang_String:_r1.o];
> [_r0.o release];
> _r0.o = JAVA_NULL;
> [_r1.o release];
> _r1.o = [my_food_Main getClass__];
> [org_xmlvm_iphone_UIApplicationmain___java_lang_String_ARRAYTYPE_java_lang_Class_java_lang_Class:_r2.o:_r0.o:_r1.o];
> [_r0.o release];
> [_r1.o release];
> [_r2.o release];
> return;
> }
>
> which prints
> *r3v5w1v1!*
> *instead of something like*
> *Γεια!*
>
>
>
> ------------------------------------------------------------------------------
> Forrester Wave Report - Recovery time is now measured in hours and minutes
> not days. Key insights are discussed in the 2010 Forrester Wave Report as
> part of an in-depth evaluation of disaster recovery service providers.
> Forrester found the best-in-class provider in terms of services and vision.
> Read this report now! http://p.sf.net/sfu/ibm-webcastpromo
>
>
>
> _______________________________________________
> Xmlvm-developers mailing list
> Xml...@li...
> https://lists.sourceforge.net/lists/listinfo/xmlvm-developers
|