Chr function
Hello,
I have an application that can run either on a desktop or on a mobile
device. I use .NET Framework 2.0 and .NET Compact Framework 2.0 respectively.
My app uses a VB function Chr to get a character representation of an ASCII
code. The problem is that this function returns different results for values
over 127.
For instance, when I trace Chr(133) in the watch window while using .NET
Compact Framework 2.0, I get "&"c
This is in contrast to "regular" .NET Framework 2.0, where if I trace the
same expression in the watch window, Chr(133), I get a different symbol.
I confirmed that the value of
System.Globalization.CultureInfo.CurrentCulture.TextInfo.ANSICodePage is the
same in both cases.
Thanks a lot for your help,
--
Zhenya
http://www.rusmex.com
Date:Tue, 17 Jul 2007 06:42:02 -0700
Author:
|