>I'm having a problem with some ascii codes here and I can't figure it out. It would be great if someone could help me. Anyway, in VFP:
>
>?chr( asc(chr(149))
>
>displays some weird symbol, but a symbol I need.
>
>the problem is with the chr(149). Of course, I'm not actually using
>'chr(149)', but the appropriate character. Just doing it this way for display purposes here.
>Now, if I had a string that began with chr(149), in c#:
>
>int nAscVal = (int)Char.Parse( cString.Substring( 0, 1 ) )
>
>
>nAscVal now has a value of 8226, it should be 149.
How are you populating cString and where did the data originate?
For instance, are you opening a file or a table.? What OS did it originate from.
Chris