Thursday, December 15, 2011

Using Wireless@SG in Changi airport

Although I already have mobile number registered with Wireless@SG long time ago and I have been using it occasionally, I cannot login Wireless@SG in Changi airport.

Then I clicked the Forget Password link. An instruction pops out, asking me to approach information counter? Feeling quite strange, I walked to information counter and tell them I want access to Wireless@SGThe staff immediately gave me a paper with 4 hour validity random username and password.

Clever. Problem solved.

Wednesday, November 30, 2011

How to open chm file in Windows?

For many years, I cannot open CHM file in Windows. I never knew why. I thought, the CHM file was old or outdated or generated with old compiler or wrong encoding.

Until one day I am so fed up, I search for solution. Surprisingly, there are some softwares offer to open CHM file, including a plug-in in Firefox to open CHM file. However, the Firefox plugin still cannot open some CHM file correctly, there are missing pages or images.

Finally, I come across this simple solution:

I read somewhere, for security reason, Windows cannot open downloaded CHM file automatically. We have to right click the file -> Properties -> General tab -> [Unblock] button.

Tuesday, August 23, 2011

native2ascii vs ascii2native

In Java, to display Chinese character, we need to convert Chinese word to Unicode format.
e.g. 你好 becomes \u4F60\u597D.

We can use the following command to do conversion:
native2ascii -encoding gb2312 >
native2ascii -reverse -encoding gb2312 >

This is the online conversion tool:

Friday, July 15, 2011

OCR = Optical Character Recognition, 文字扫描辨识软体

A friend asked me, how to scan a Chinese print out into editable Word document?

I recall, some scanner software comes with OCR software, meaning the scanner can scan the graphic and directly covert the output into text.

However is there a way if the scanner doesn't provide OCR software?

After some information gathering and research...

Good news is, Microsoft Office Document Imaging (exists inside All Programs -> Microsoft Office -> Microsoft Office Tools) is the OCR tool.

Bad news is, it doesn't seems to support Chinese right away. So need to install the language engine:

Then, I realize I cannot open graphic file (e.g. jpg, gif, etc) directly inside Microsoft Office Document Imaging. There is this software JOCR.exe which is able to make use of Microsoft libray to do conversion.

Updated 29-01-2012:
Or the easier method, use online free OCR service:
Google Keyword: ocr online chinese

Updated 22 Feb 2012:
This one seems more powerful. It can scan different languages, such as Chinese and produce different file formats, including Excel. Login using Google/Facebook account.