On Sun, Oct 12, 2014 at 11:34 PM, Paul Hill <[email protected]> wrote: > I'm guessing you would see the UTF8 codes in your string. > "Euro symbol is EURO" > For example: > "ï>>¿Euro symbol is âR¬" > The 3 characters at the start indicate a UTF8 string (0xEF, 0xBB, 0xBF). > The Euro symbol in UTF8 is 0xE2, 0x82, 0xAC
Yes, but when I set msform20textbox.text to it, it didn't display it properly. I am talking about Chinese UTF-8 characters. I noticed that if I shelled to command prompt, CLIP the Unicode string to clipboard, back to VFP 6, then msform20textbox.paste(), the textbox could display the UTF-8 codes correctly! This will be my workaround. > It depends what you are doing with it. An ActiveX control *might* > understand this as a UTF8 string? Does VFP 6 converts any UTF8 string to a regular ANSI string automatically, making it impossible to use the raw binary values? > To be honest, you are probably better learning a Unicode aware language! > Dot net & Java use UTF16 internally for all strings. Switching to a new language could be hard for a middle-aged person like me. I don't think my brain is gifted to learn news things. Another solution is to buy VFP 9 (for my little freeware project). But I am unable to find a shop that has it. Lastly, I might pay someone to re-write my little project in VB or C# for me. Of course, I will buy the source codes as well. :) -- .~. Might, Courage, Vision. SINCERITY! / v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3) /( _ )\ http://sites.google.com/site/changmw ^ ^ May the Force and farces be with you! _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAGv=MJAcwh42CTob702Tg7tUyr-A=k95_pgulh17bz47a09...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

