Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
CultureHelper.GetCultureValueByName("lbMemos") is equal to "mémo(s)" //mémo(s) is a french word
It display properly in .cshtml file
eg:
<p>CultureHelper.GetCultureValueByName("lbMemos")</p>//display as "mémo(s)"
But if you use javascript, you will get a gibberish
alert('@CultureHelper.GetCultureValueByName("lbMemos")') //alert "m&#233;mo(s)"
Not all french word have this problem, english or chinese don't have this problem.
Posted
Updated 17-Sep-14 22:17pm
v7

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900