I have a string
, where I want to return it in uppercase, to standardize the information. I'm using ToUpper()
. However, when this string
has accents the text gets scrambled.
How do I receive the text with normal accents, or remove the accents and receive the text correctly?
My View calling string
:
insira o có[email protected](model => model.sLotacao).ToString().ToUpper()
Page result:
SECRETARIA M. DE EDUCAçãO