Character encoding

By , 2012-03-29 11:41



I run my site on Linux, using UTF-8 encoding soooo I can do this:


without getting a bunch of this:


Important note that nano on Linux always works in UTF-8 as far as I can tell, so to get a js file or what have you to display proper characters you’ll need to use iconv to convert the final file to ISO-8859-1/Latin-1 or whatever encoding you happen to be using.

iconv -c -f UTF-8 -t ISO-8859-1 someCamelCaseScriptFilename.js  -o someOtherCamelCaseScriptFilename.js

Leave a Reply


Custom theme by me. Based on Panorama by Themocracy