Please help
-
Wednesday, April 18, 2012 11:26 AMwhat is string replacement for ’
SHRUTI
All Replies
-
Wednesday, April 18, 2012 5:31 PM
The character are unicode 16 bit ascii
Hex = 0xE2,0x20AC,0x2122
Decimal - 226,201c,2122
jdweng
-
Thursday, April 19, 2012 3:35 AMwhat is string replacement string for ’ so that it will appear as ' (apostrophe s)
SHRUTI
-
Thursday, April 19, 2012 8:07 AMThe apostrophe code 39 (0x27)
jdweng
-
Sunday, May 13, 2012 10:39 PM
byte[] bytes = { 0xE2, 0x80, 0x99 }; var txt = System.Text.Encoding.UTF8.GetString(bytes); var msg = txt + " is len: " + txt.Length + " value[0]: U+" + ((int)txt[0]).ToString("X4"); MessageBox.Show(msg);’ is len: 1 value[0]: U+2019
http://www.alanjmcf.me.uk/ Please follow-up in the newsgroup. If I help, please vote and/or mark the question answered. Available for contract programming.

