c# - Paste contents to TextBox in ANSI Format -
How do I create text box content in ANSI format when I paste in C #?
.NET uses internally everywhere for Unicode string, including for form control. Includes. So I think that you are the real question, by looking at a byte-array, how can I convert that byte array to Unicode using the desired source encoding (some flavor "ANSI")?
System.Text. Here are useful sections in encoding.
Comments
Post a Comment