|
-
October 4th, 2004, 02:17 AM
#1
String to Char conversion involving Unicode characters
Hi Guys
Suppose I construct a string (mind you - not hardcode) and that string is made up of a series of unicode character representations like "\u0625\u062D... " and so on.
If I display this string, all I get is the string as it is - instead of the unicode characters that it is supposed to represent.
The same string if I make a direct assignment (hardcode) to it like -
str = "\u0625\u062D"
it works well.
Where as suppose (another example for what I am trying to explain) if have a string like -
str = "AAA [U] BBB";
and, I try doing something like -
str = str.Replace("[U]","\u0625")
and, then try printing str, it fails 
I guess I am missing out on some 'string to char' conversion somewhere, please help.
Thanks
Suhaib
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|