[Mono-list] C# Hexadecimal Escape Char Anomalies???
Michal Moskal
malekith@pld-linux.org
Mon, 23 Feb 2004 12:10:43 +0100
On Mon, Feb 23, 2004 at 10:32:53AM +0100, Gonzalo Paniagua Javier wrote:
> El lun, 23-02-2004 a las 05:34, Matthew Franz escribió:
> > I realize this is a C# issue but can one create "binary strings" in C# using
> > string="\xff\x00\x00\xff" used by C/Python?
> >
> > Why do my 0xff's get translated to 0x3f's???
>
> I get this:
Doesn't it simply depend on current locale setting? ASCII 3f is '?', so
it seems to be a problem with encodings.
--
: Michal Moskal :: http://www.kernel.pl/~malekith :: GCS !tv h e>+++ b++
: When in doubt, use brute force. -- Ken Thompson :: UL++++$ C++ E--- a?