Menu

#29 Word Wrapping with English Words in Japanese Messages

open
nobody
None
5
2005-12-09
2005-12-09
tetsuo13
No

SquirrelMail 1.4.5 with Japanese language option.

Word wrapping with romaji characters (that is,
non-Japanese/roman characters when writing in Japanese)
seems to be nonexistent when composing/replying to
messages in Japanese.

I believe this occurs when examining each line in the
message body. If a line contains any Japanese
characters, SquirrelMail will not wrap at words. In
other words, even if I start a line of text with the
first character a full-width Japanese space for
indention, the remainder of the line, even though it is
in romaji, will not be word wrapped. Likewise if in a
sentence with Japanese character I quote a sentence in
English, SM will not word wrap that bit of English
should it reach the wrapping point.

Regardless of if its a word or a space, SM will wrap
the line at 90 characters. This, more than often,
creates abrupt breaks in words which can make it
difficult to read later.

A few examples that will cause SM to incorrectly wrap:

あいうえおかきくけこさしすせそはひふへほらりるれろやゆ
よがぎぐげござじ「A bit of text in romaji」ずぜぞきゃ
きゅきょ。

This line contains a full-width space in the
beginning, acting as indention like is normally found
in Japanese. Because of that, the entire line will be
broken.

Discussion


Log in to post a comment.