Re: How to represent the letter phi



On 2008-05-07, Winbug <Roger.Valand@xxxxxxxxx> wrote:
I am going to send the letter phi over a rs232 connection. The
problem I have is finding the letter in the ascii system. According
to articles on the web, I can get the letter phi by using either
chr(1000) or chr(618). On my computer I get entirely different
letters.

Since ascii is limited to letters 0..127, and phi is not in them, you will
have to first find out what more than ascii the rs232 connection accepts.

Probably you see chr(1000 mod 256) and chr(618 mod 256) for that reason.

The characters 128..255 depend on locale and are not constant.
.



Relevant Pages

  • Re: Funny: If Religion Made Bras
    ... usenet newsgroup articles use the exact same standards as email messages. ... While not using MIME or 8-bit characters may have been a concern 14 years ago when a lot of usenet still when across UUCP dial-up links and not all NNTP servers were 8-bit clean, but those days are long gone. ... Another thing that is so last millennium is assuming that everybody on the intartubes speaks only American English and has no need for non-7-bit ASCII character sets. ...
    (talk.origins)
  • Re: [opensuse] OpenSUSE 10.3 benchmarking: slower than 10.2?
    ... Not for people whose languages aren't representable in ASCII. ... ASCII system would be much slower ... If you don't take into account missing functionality, ... If all you're interested in is winning benchmarks, ...
    (SuSE)
  • Re: RESULT : Create moderated newsgroup uk.rec.cycling.moderatedPASSES 128:24
    ... actually use any non-ASCII characters. ... 4910 28% us-ascii ... Same selection of groups but some more articles have arrived, ...
    (uk.net.news.config)
  • Re: [C] Working with disk files. *long post warning*
    ... You can write this to a text file using fprintf: ... > On an ASCII system, this would result in the following byte values being ... Is your ASCII the same as mine? ... C++ Faq: http://www.parashift.com/c++-faq-lite ...
    (alt.comp.lang.learn.c-cpp)
  • How to represent the letter phi
    ... I am going to send the letter phi over a rs232 connection. ... problem I have is finding the letter in the ascii system. ... to articles on the web, I can get the letter phi by using either ...
    (comp.lang.pascal.delphi.misc)