0

I have a field of a table named SpeakerName. When I show it in a table, it shows the name correctly (eg. Efraín), but when passing it to a textbox, it shows this: Efraín I think it is a UTF 8 and ASCII problem, how can I set the textbox to show the text correctly?

2 Answers 2

1

You can adjust with

var result = Server.HtmlEncode(yourText);
Sign up to request clarification or add additional context in comments.

Comments

0

I used HttpUtility.HtmlDecode(mytext) and it worked! I found this Special (or foreign countries) characters very helpfull! Thanks!

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.