Re: How to represent the letter phi



Maarten Wiltink schrieb:

I guess I have to go unicode then wich makes it a bit more complicated
since I have to go unicode all the way.

No you don't. UTF-8 was specifically engineered to map to the same
code points as ASCII for values from 0 to 159, and to be able to
reach code points up to U+FFFF (at least, may also be the full 32-bit
range) with its use of the values from 160 to 255.

The OP should understand the difference between Unicode and character sets with codepages. Transferring a character "phi" over a serial line can be done in many ways, with the most simple case that the sender and receiver agree about using a specific code page, where that character has an unique 8-bit code.

When a concrete receiver program is given, the transmission must follow the implemented protocol and interpretation of the data bytes. When the receiver has to be implemented, an appropriate protocol can be choosen and implemented, that may be based on codepages or on Unicode, depending on the overall task.

DoDi
.



Relevant Pages

  • Re: VB - Ascii to Unicode and then Unicode to UTF-8 conversion (Very desperate!!)
    ... Latin together) then you have to use a Unicode column type. ... AscW returns the real Unicode character ... for Chinese characters, ... then the next thing to worry about is your CSV file. ...
    (microsoft.public.vb.general.discussion)
  • Re: Unicode Support
    ... if two Unicode strings are the same? ... UTF-16 is basically telling everyone "ok we all got to start ... character, and will likely support *both* endians. ... UTF-8 encodings are also easy to learn to ...
    (alt.lang.asm)
  • Re: Determining if a string is Unicode
    ... there's nothing magic about Unicode. ... where each character occupies 2 bytes, as opposed to a Single-Byte Character ... You could load up a string with rubbish, ... > INF file like so: ...
    (microsoft.public.vb.general.discussion)
  • Re: KANJD212
    ... >>Who decides the factors and what are their criteria, Unicode? ... But once a character is defined/get a codepoint in Unicode it ... standard modifies the codepoint of the kanji to a totally new ... I can use a code like JIS X0208 along with a font ...
    (sci.lang.japan)
  • Re: Enhanced Unicode support for "Go" tools
    ... the point to remember is that UNICODE is a _character ... It's the fonts, the OS and the application which work together ... society for the protection of French from English ...
    (alt.lang.asm)