Re: Hex string conversion

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jeff Johnson [MVP: VB] (pawprint_at_com.geocities)
Date: 06/16/04


Date: Wed, 16 Jun 2004 00:02:49 -0400


"Larry Serflaten" <serflaten@usinternet.com> wrote in message
news:OZGTMVyUEHA.2972@TK2MSFTNGP12.phx.gbl...

> Just to cover all the bases, if your data stream consists of bytes, with
the
> values you've shown, then it already is an ASCII text string.

And if the data stream contains the characters that the poster indicated
then it too is an ASCII text string! I do so wish people could phrase
questions so as to ask for what they really want: "I want to create a string
of ASCII characters from the Hex values in my input stream."



Relevant Pages

  • Re: Slightly tricky string problem
    ... I have a String, which is single character eg "a" ... ASCII is a code defining 128 entities, ... So an UTF-8 encoded file containing only ASCII characters shall ... Unicode didn't define codepoints outside the BMP. ...
    (comp.lang.java.programmer)
  • Re: Reading LAST line from text file without iterating through the file?
    ... ASCII character values are limited to the 0-127 range. ... these days we use the 8th bit for accented characters instead ... Lines are a record format. ... way to represent an ArrayList<String> losslessly in a single String ...
    (comp.lang.java.programmer)
  • Re: Slightly tricky string problem
    ... I have a String, which is single character eg "a" ... ASCII is a code defining 128 entities, ... So an UTF-8 encoded file containing only ASCII characters shall ... Unicode didn't define codepoints outside the BMP. ...
    (comp.lang.java.programmer)
  • Re: encrypt email address to a string
    ... would simply reverse the string, like Abigail said or remove the ... You don't want to do an even ASCII exchange mapping because you don't ... and make a simple escape sequence for illegal characters), ... will no be transferring integers, ...
    (comp.lang.perl.misc)
  • Re: Reading an Ascii string
    ... When said "Ascii characters", I meant that they are stored as bytes rather than 16-bit quantities as unicode requires. ... so a string with three characters appears as byte 0x14 followed by the three characters followed by 17 space characters. ... I'll get rid of the text box and store them directly in the database. ...
    (microsoft.public.dotnet.languages.csharp)