More Mono musings

In continuation of my last post about Encoding.GetEncoding, I found that “cp932″ will work for getting shift-jis, which means that I just have to change “shift-jis” to “cp932″ in my code and in all of my configuration files and I should be OK.

update: After checking in Windows, “cp932″ does not exist. This means I must create some hacks!

I also found that I need to add “charset=utf8″ to my MySQL connection string in order for the characters to be stored correctly.

Comments are closed.