I am trying to display Burmese/Myanmar character on my website. I have downloaded the fonts and installed them. The characters are displaying correctly on the html-text section of the pages. But the characters are not getting displayed in the drop down. I only see boxes in the dropdown. The text is not appearing in browsers, IE and FF. It is appearing correctly in Chrome. The website is developed using MVC 4 and C#.
I have tried the following possible combinations. The txt contains Burmese string read from the database.
lst.Add(new SelectListItem() { Text = WebUtility.HtmlEncode(txt), Value = Id });
WebUtility.HtmlDecode(txt);
Server.HtmlDecode(txt);
Server.HtmlEncode(txt);
MvcHtmlString.Create(txt).ToHtmlString();
MvcHtmlString.Create(txt).ToString();
In the View, I am calling the dropdown
@Html.DropDownListFor(m => m.txt, Model.lst, null, new {Id = "idDdl" })
Using utf-8 encoding <meta charset="utf-8" />
Please can anyone tell me why the characters are not appearing for Burmese only in the drop down for IE or FF and how I should fix this issue. The text for various other international languages such as Chinese, Spanish, French, Somali are appearing correctly in the dropdown.
Thanks in advanced!