how can i conver ascii code to string.
for example i want to conver 65 to "A".

Recommended Answers

string str = char.ConvertFromUtf32(65)
Jump to Post

All 6 Replies

string str = char.ConvertFromUtf32(65)

great
thanks man

string str = char.ConvertFromUtf32(65)

i cant see this method in char, why?

the following worked for me to convert byte array to string, each byte represents values in ascii codes:

System.Text.Encoding.UTF8.GetString(message, 0, length)

I use this !
HttpUtility.HtmlDecode(Your_String)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.