Saturday, May 30, 2009

Using unicode in ASP.Net

When using unicode in ASP.Net, be sure to save the files in "UTF-8 " (i.e. with BOM, Byte Order Mark). Otherwise the characters in languages other than English won't be displayed correctly.

This is different from PHP which requires files to be saved in "UTF-8 without BOM" as discussed earlier in one of the other posts in this blog.