To develop Web applications for a Japanese environment, it is important to use the character set for the task in hand, whether HTTP input / output, RDBMS and E-mail.
Some character encoding defines shift(escape) sequence for entering/exiting multi-byte character strings.