Bubble Foundry


Posts tagged with: UTF-8

On CSV
CSV, or comma-separated values, is a non-standard which due to its apparent simplicity people think is a good data interchange format. It’s not. In this blog post I will attempt to tell you more than you ever wanted to know about CSV. tl;dr: CSV is a a HORRIBLE ‘format’ and should NEVER be used. You will regret […] Read more – ‘On CSV’.
Displaying Unicode Characters in the Scala REPL on OS X
So simple but unforuntately I missed it until now: scala -Dfile.encoding="UTF-8" Now you can go to town with characters like ø and ∫! Oh, and you may want to alias this command in your ~/.profile: alias scala='scala -Dfile.encoding="UTF-8"' Read more – ‘Displaying Unicode Characters in the Scala REPL on OS X’.
HTML and XML Character Encoding Gotchas in Javascript
Recently I was trying to execute the following Javascript with jQuery: $("#someid").append("<div>...&deg;C</div>"); I was going crazy because it worked (a degrees symbol – ° – was shown) on one page but not another, where nothing was displayed or returned by the append method. After much frustration I stumbled on a solution and I’m sharing it […] Read more – ‘HTML and XML Character Encoding Gotchas in Javascript’.