|
|
M4 International features and testing hints
by Katsuhiko Momoi
Last Update: 4/19/99
Note: M4 is a stabilized build from the source of around 4/9
to 4/12/99. Its international features are described below. The next
Milestone (M5) features are now implemented gradually in the new builds
since that point. To learn what features have been added since this Milestone
release, go to the current status page below.
For the current up-to-date status: see here:
International Highlights for M4:
-
Display many languages: Many Unicode to/from native charsets converters
have been added. This makes it possible to view documents in Western, Central
European, Greek, Turkish, Japanese, Traditional Chinese, Simplified Chinese,
Korean and Unicode (UTF-8).
-
No font setting required: We have implemented multi-font rendering
with Windows GFX. This will let us use multiple fonts to display characters.
If a character is not found in one font, Mozilla will search in other available
fonts to locate the character and use it. This eliminates restrictions
we had in Communicator 4.x which tied a font to a particular encoding.
Mac can display many languages as well to the limit of available fonts.
On Linux, though it uses multi-font rendering, the display is currently
limited to Latin 1 and Japanese.
-
prefs.js for Mail: prefs.js was required for M3's font settings.
But this is no longer required. But prefs.js settings is still required
for mail server settings for those interested in running Mail.
-
Multilingual Mail headers: With Mail, the thread pane now can display
non-ASCII headers such as Latin 1, Japanese, Korean, etc. as long as your
system has fonts containing the necessary characters.
-
Mail Body can show only Latin 1: For M4, only Latin 1 message body
works OK. Japanese display is not enabled properly yet.
Testing hints For M4: (M4
binary build is here.
Those who want to build from source should visit here.
A sample prefs.js for International Mail incorporating all the suggestions
below can be found here:)
-
For Browser display, if the page is not in Latin 1, then it needs to have
a Meta charset tag in the document since there is no character set menu
to change the encoding setting for this build. Netscape CJK home pages
bear Meta Charset tags. (e.g. Japan,
Korea,
Hong
Kong/Taiwan, China)
-
Although we now have mechanisms to utilize any font available to display
web pages, i.e. an encoding choice is not tied to a single font, Mac's
layout mechanism will be re-written extensively in M5. In this sense, there
is not much point in testing Mac's multilingual display at this point.
For now you might want to limit Mac browser testing to a minimum. Unix
currently displays only Western and Japanese. This too should be much improved
by M5.
-
For Mail, the features which work half-way decent at this point are: 1)
Multi-lingual header display and 2) Sending Latin 1 Mail.
-
For Mail testing, some entries in prefs.js for M4 have changed from M3.
Use the new template found below to create your own server and mail directory
settings:
http://www.mozilla.org/quality/intl/m4/
(A sample prefs.js can also be found in the M4 release notes referenced
below.)
Also review the M4 Mail notes found in the M4 release notes here:
http://www.mozilla.org/projects/seamonkey/release-notes/m4.html
-
Use Communicator 4.5x to send out messages with various language headers
for viewing with 5.0.
-
For mail sending on Windows, it is important that there exists a line in
the prefs.js as follows -- this may not be clear from the note in M4 Release
notes:
user_pref("browser.download_directory", "C:\\tmp\\");
This is where temporary mail files will be written before a message
is sent out. Without this line, no mail will go out.
-
To send out international mail (so far working well only for Latin 1),
you need to insert the following lines into the prefs.js:
user_pref("intl.charactesr_set_name", "iso-8859-1");
user_pref("mail.strictly_mime_headers", 1);
Note the misspelling in the 1st line. Don't correct this! Mail will
not go out as iso-8859-1 otherwise.
-
To run various components: you can do this in one of 2 ways.
-
First bring up the browser window via 'apprunner'. Then choose Mail or
Editor component via the Task Menu.
-
Alternatively you can use the command line prompt with an option: 1) apprunner
(-browser), 2) apprunner -mail, 3) apprunner -editor
-
If you need a multilingual font for non-CJK Windows 95/98/NT4 or for CJK
Windows 98/NT4, try the Bitstream Cyberbit font provided here:
International Browser additions/changes for M4:
International Editor: (early prototype)
-
M4 provides limited support for Japanese input on Windows. Right now, we
only support Japanese input when a single editor window is open. All of
the application's other windows must be closed. The support does not include
the correct user interface elements, only data entry. This is a very early
prototype. Please do not submit bugs yet. But we welcome design/development
support. (Note: The easiest way to open the single Editor window
is to use: 'apprunner -editor' from the command line prompt.)
International Mail additions/changes for M4:
-
Platforms: Win32 only.
-
US Windows can display Latin 1 mail body as long as appropriate fonts are
present on the system. No special font settings are required for
Latin 1 display -- for Mail server settings, modify the prefs.js
file as mentioned above.
-
M4 does not display Japanese message body. This is a regression from M3
because this area of the code has been rewritten. We will announce to the
mozilla.i18n newsgroup, when we have this working again. (bug 2671,
3889)
-
The thread pane is enabled to see Japanese (ISO-2022-JP) and Latin (ISO-8859-1)
MIME-2 encoded headers (and also other languages such as Korean & Chinese).
Non MIME-2 encoded headers won't be displayed correctly. You can see both
Latin1 and Japanese simultaneously -- an advancement over all previous
Netscape browsers! Again, there is no special font settings required as
long as proper fonts are on the system.
-
Mail sending encodes ISO-8859-1 text in headers (To: CC: and Subject:)
into MIME-2 encoding. Put the following line into prefs.js to enable this
feature:
user_pref("intl.charactesr_set_name", "iso-8859-1");
Please notice a typo (an extra 's' ) is
in the key -- it should be "intl.charactesr_set_name",
but not "intl.character_set_name" for now. This problem will be fixed later.
(bug 4029)
Features that are not supported in M4:
-
No CJK IME support on Mac and Linux.
-
Linux can only view Latin and Japanese.
-
"View|Character Set" menu is not functional. (bug 2341)
-
No Japanese Auto-Detect.
-
No Japanese mail composition (including forward and reply).
-
No MIME-compliant Latin1 mail composition (M3 strips out 8-bit characters
in email).
-
No posting non-ASCII forms data.
-
No CJK printing on Linux.
HTTP charset won't be handled.
|