If you're interested in functional programming, you might also want to checkout my second blog which i'm actively working on!!

Monday, September 13, 2010

Generating html data for Excel using UTF-8 encoding

Today i had an issue where I was generating an html table containing Chinese characters. The table was used for importing in excel but excel did not use the correct character encoding.

It appeared following code snippet was not enough:



Following META information had to be included in the generated html as well:

No comments:

Post a Comment