Tuesday, February 14, 2012

Backup Outlook Email PST file

Microsoft Outlook Email storage .pst file is a proprietary format. Surprisingly no other email client can import the pst file itself right away. 2 best way I found to backup Microsoft Outlook Email stores in .pst file.

Both methods require Microsoft Outlook installed locally on the PC.


(A) Backup Outlook email to GMail.
1. Setup Gmail IMAP inside Outlook.
http://www.howtogeek.com/howto/microsoft-office/use-gmail-imap-in-microsoft-outlook-2007/
http://support.google.com/mail/bin/answer.py?hl=en&ctx=mail&answer=12103
2. Transfer email from Outlook to Gmail. It takes long time to move email 1 by 1. But once it is done, you realize all the emails with related topic are threaded together in Gmail way. And it is very easy to search your email inside GMail.

(B) Backup Outlook to email Thunderbird.
http://support.real-time.com/tbird/outlook_import.html
http://kb.mozillazine.org/Import_.pst_files

Sunday, February 12, 2012

Macau mobile plan comparison 比较澳门流动电话套餐

Task: Trying to look for mobile plan + data usage.

Observation:
Pay-per-use data usage charges expensively with low data flow, e.g. 1-2G free per month only, extra usage MopP0.02/KB till Mop500 maximum. Unlimited data usage charges Mop318/Mop418(with new phone) per month.

CTM
https://www.eservices.ctm.net/cportal/base/public/mobiweb/MobiwebLeftNav.iface?pathZh=/mobiweb/tariffplans/zh/serviceplan.html


Smartone
http://www.smartone.com/mo/tc/mobile-services/price-plans/integrated-voice-and-data-plans/pricing.jsp
iphone 4S: http://iphone.smartone.com/jsp/mo/iPhone4S/tchinese/price.jsp


Three.com.mo (和記電訊,和記黃埔集團成員)
http://three.com.mo/plan/month However it doesn't show the data plan.

Visit the shop, the current promotion (12 Feb 2012), 18 months contract, early termination penalty Mop200:
帶機轉台/上台優惠
Mop63/1100分鐘,送全套增值服務(來電等待、來電顯示、電話會議、來電轉駁)

Auto incremental data usage:
Mop23, 200MB
Mop48, 400MB
Mop68, 1G
Mop88, 2GMop188, unlimited data

Meaning, if user uses 300MB that month, the bill falls into Mop48; if user uses 500MB, the bill falls into Mop68, automatically. Even if user uses more than 2G, the maximum bill is Mop188.

iphone 4: http://iphone.three.com.mo/tariff?type=iphone4
iphone 4S: http://iphone.three.com.mo/tariff?type=iphone4S

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

Saturday, November 27, 2010

k-lite cannot play rm rmvb file RealAudio COOK

When I install K-Lite Mega Codec Pack 6.5.0 on WinXP SP3, Windows Media Player and Media Player Classic can play rmvb/rm files smoothly.

After I install Real Player ver 14 Hexlix Powered, WMP and MPC failed to render rmvb/rm files. It shows the following errors:

C:\Downloads\Movie\movie.rmvb::Output 00 (Audio Stream)

Media Type 0:
--------------------------
Audio: RealAudio COOK 44100Hz stereo

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {4B4F4F43-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 1
lSampleSize: 14880
cbFormat: 112

WAVEFORMATEX:
wFormatTag: 0x2004
nChannels: 2
nSamplesPerSec: 44100
nAvgBytesPerSec: 0
nBlockAlign: 930
wBitsPerSample: 16
cbSize: 0 (extra bytes)

pbFormat:
0000: 04 20 02 00 44 ac 00 00 00 00 00 00 a2 03 10 00 . ..D¬......¢...
0010: 00 00|2e 72 61 fd 00 05 00 00 2e 72 61 35 00 00 ...raý.....ra5..
0020: 00 10 00 05 00 00 00 4e 00 18 00 00 03 a2 00 00 .......N.....¢..
0030: 00 00 00 07 55 67 00 00 00 00 00 10 03 a2 00 ba ....Ug.......¢.º
0040: 00 00 00 00 ac 44 00 00 ac 44 00 00 00 10 00 02 ....¬D..¬D......
0050: 67 65 6e 72 63 6f 6f 6b 01 07 00 00 00 00 00 10 genrcook........
0060: 01 00 00 03 08 00 00 25 00 00 00 00 00 06 00 05 .......%........

I un-install all. No matter how I change the installation steps, i.e. install RealPlay first then K-Lite, or install K-Lite first then RealPlayer, or install older version of K-Lite, or Real Alternative, the result is the same. Once RealPlayer is installed, K-Lite is broken.

Official FAQ says:
http://www.codecguide.com/faq_mpc.htm#item23
Q: RealMedia files (.rm .rmvb) freeze or play without sound

A: MPC is not fully compatible with RealPlayer 11 and 12.

or C:/Program Files/K-Lite Codec Pack/Info/faq_playback_issues.htm#item32
Q: RMVB files play without sound

A: You are probably missing a decoder for RealAudio COOK. You can install that by following these steps:

Download the Windows version of binary codec pack for MPlayer.
http://www.mplayerhq.hu/design7/dload.html#binary_codec
Extract these files from the .zip archive: cook.dll, pncrt.dll, sipr3260.dll, drv33260.dll, drv43260.dll
Put those files in this folder: C:\Windows

It seems redundant as K-Lite itself is the bundle of media libraries, why do we need to download additional binary from 3rd party? And the above steps are troublesome.

The easier way and solution is that:

1) Install K-Lite Mega Codec Pack (contains Real Alternative) or Real Alternative first. You'll see the following directory:
C:\Program Files\K-Lite Codec Pack\Real\Codecs

2) Save a copy of this [Codecs] directory. Because it'll somehow disappear when RealPlayer is installed, or you install K-Lite after RealPlayer, this folder won't exist (I don't remember clearly).

3) Then, install RealPlayer. As expected, WMP and MPC cannot play rmvb/rm properly (without sound, missing RealAudio COOK)

4) Go Control Panel -> System -> Advanced tab -> [Environment Variables] -> edit Path

Add the following path:
%path%;C:\Program Files\K-Lite Codec Pack\Real\Codecs

Adding the above path, [Codecs] folder is visiable to Windows. Now you try to play rmvb/rm with WMP and MPC, it will play smoothly again.