C# Equivelant of VB.NET ChrW()

  • Thread starter Thread starter Shawn B.
  • Start date Start date
S

Shawn B.

Greetings,

What is the C# equivelant of the VB.NET CharW() function? I've seen many
replies to a similar post but I've never seen the answer that solves my
problem. I need to get the Unicode (UTF-8) character specified by the code
that I pass in. This is not in the ASCII range.


Thanks,
Shawn
 
Shawn,

char a = (char)300;

// gives I (A capital I with a reversed ^ on top in code page 1252 (Latin))

I hope this helps?

Cor
 
Back
Top