please, William and Thomas don't think that i am a very newbie of unicode.
I know that you tell and i claim that RB 5.5 knows only one code : UTF8
RB 5.5 doesn't know Defineencoding and convertencoding other code than UTF8.
Perhaps I'm not understanding due to the language barrier, but it
sounds like you believe RB 5.5 can only deal with text in the UTF-8
encoding. That's absolutely not true, as should be quite obvious
from the snippet of code you quoted from my post:
s = s.DefineEncoding(Encodings.MacRoman)
Obviously this defines the encoding as something other than UTF-8.
And if you're just concerned with Unicode variants, RB also can
convert to/from UTF-16. Try:
s = s.DefineEncoding(Encodings.UTF16)
(Of course, DefineEncoding does not convert, it simply defines the
encoding of a string read from some external source.)
Further, as Joe and I mentioned, BBEdit Lite does not do Unicode, so
how are you using it to test handling of Unicode in RB?
--
-Thomas
Personal web page: http://homepage.mac.com/thomasareed/
My shareware: http://www.bitjuggler.com/
REALbasic page: http://www.bitjuggler.com/extra/
There are 10 kinds of people in the world -- those who understand binary
numbers and those who don't.
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|