TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abolfazl
NA
184
80.9k
how to convert a illegible string to legible string?
Jun 9 2014 6:01 AM
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
Reply
Answers (
1
)
Name of form instance
Partial classes in c-sharp