Wednesday, September 27, 2006

Max OS X Default Japanese Character Encoding/ Mojibake


When you send email using Macintosh application, email does not show up correctly with your friends Hotmail or other accounts.


In most Japanese language applications, the the character encoding must be Shift-JIS and not Unicode. This will cause a great bit of problem with Web and most of Microsoft applications.


See Apple Technical Note at

But basically you need to set some system defaults manually via the that is not available from the system's control panel. After opening the type in the following string.

defaults write NSPreferredMailCharset "ISO-2022-JP"

Tuesday, September 05, 2006

ASP.NET 2.0 QuickStart Installation Issue

On a newly installed Visual Studio 2005, it is good to have the QuickStart tutorial pages handy.

But you might run into problems.

(1) How to install it.

Assuming that you've installed VS 2005 on the C: drive the installer is located in the following folder.

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\StartHere.htm

This will provide a link to the installer. But you might encounter an issue described in (2).

(2) Virtual Directory Registration Fails.

7:47:16 AM Tuesday, September 05, 2006: [Fail] Config_IIS_Install: IIS (Internet Information Services) Virtual Directory Registration (failed): [Fail] Failed to install ASP.NET Scriptmaps. Command: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -s W3SVC/1/ROOT/QuickStartv20

Resolution for this one is:

First install and register ASP.NET with IIS:From the SDK command prompt run

aspnet_regiis -ir -enable

Then run C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -s W3SVC/1/ROOT/QuickStartv20aspnet_regiis.exe should return a succes message.