Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
how to convert a illegible string to legible string?
Abolfazl
10 years ago
755
Reply
hi
i want to convert a illegible string to legible.i try this code:
string encoded_text = richTextBox1.Text;
string decoded_text;
byte[] b = System.Text.Encoding.Default.GetBytes(encoded_text);
decoded_text = System.Text.Encoding.UTF8.GetString(b);
richTextBox2.Text = decoded_text;
but when i convert encoded_text just show ? in richtextbox2.
can you help me?
you can download my project by this link:
download my project
thanks
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Name of form instance
Partial classes in c-sharp