Friday, December 24, 2004

Converting Simplified Chinese (GB2312) to Unicode (UTF-8)

Todat I needed to convert a Word document that was encoded in Simplified Chinese (codepage GB2312) to Unicode (UTF-8) to be able to combine it with other characters in an XML Document.

First I tried using iconv (http://www.gnu.org/software/libiconv/) but turned out to be too hard to work with.

So now I created my own little application that performs this task utilizing the .NET FrameWork 1.1, and worked out pretty well. You can download the result (including C# source code) from here:

http://www.netindustry.nl/unicodeeditor

Labels:

Sunday, December 12, 2004

HOW TO: Use the SHGetFileInfo Function to Get the Icons That Are Associated with Files in Visual C# .NET

Good example if you want to build explorer-like interfaces: HOW TO: Use the SHGetFileInfo Function to Get the Icons That Are Associated with Files in Visual C# .NET Good example if you want to extend explorer: Windows Shell Extensions in .NET

Labels: