1

Possible Duplicate:
Unicode characters not showing in System.Windows.Forms.TextBox

I'm trying to render international languages within a textbox inside my .net windows application but it's not showing the characters properly.

I can't seem to find the setting to change the character encoding to UTF-8, can someone point me in the right direction? Thanks :)

Community
  • 1
  • 1
proggrock
  • 3,239
  • 6
  • 36
  • 51
  • check this one: http://stackoverflow.com/questions/420659/unicode-characters-not-showing-in-system-windows-forms-textbox – Davide Piras Sep 21 '11 at 13:25
  • Ok, so the answer marked on that link was to change to a Rich Text Box. Even though a "TextBox" should display System.String values which are apparently UTF-16 by default, the different language characters will only render properly in a **Rich**TextBox? Is this true? – proggrock Sep 21 '11 at 13:50

1 Answers1

3

System.String in .NET is already Unicode (UTF-16) encoded. MSDN states: "A string is a sequential collection of Unicode characters that is used to represent text."

abatishchev
  • 98,240
  • 88
  • 296
  • 433