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:
(Source: http://javaphoon.iteye.com/blog/148403)
native2ascii -encoding gb2312 test_native.properties > test_ascii.properties
native2ascii -reverse -encoding gb2312 test_ascii.properties > test_native2.properties

This is the online conversion tool:
http://code.cside.com/3rdpage/us/javaUnicode/converter.html

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...
http://fish.pixnet.net/blog/post/22621207
http://www.info-artist.net/2009/10/ocr.html

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:
http://www.microsoft.com/downloads/zh-tw/confirmation.aspx?FamilyID=DD172063-9517-41D8-82AF-29C38F7437B6&displaylang=zh-tw

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.
http://philtzki.pixnet.net/blog/post/5189840
http://download.cnet.com/JOCR/3000-2192_4-10768898.html

Updated 29-01-2012:
Or the easier method, use online free OCR service:
Google Keyword: ocr online chinese
http://free-online-ocr.com
http://www.sciweavers.org/free-online-ocr
http://googlesystem.blogspot.com/2009/09/google-docs-ocr.html

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.
http://finereader.abbyyonline.com