EnglishDeutschFrançais

1.9 Does edit-on-Pro support Multi-Byte/Unicode characters, e.g. Japanese or Chinese?

Yes, in general edit-on Pro supports Unicode. However, there might be some limitations because of the settings and the overall installation of the operating system you use. Following you will find 3 cases that might be characteristic for any operating system.

 

BTW, we experienced this with our online demo by using a real Japanese workstation. By running edit-on Pro with Japanese characters from a Windows client three cases might arise.

 

Note: In any of the following cases you have to set edit-on Pro's character encoding to "UTF8", see also integration manual (chapter 3, encoding). Furthermore it is necessary to set following META definition into the web page which contains the editor in order to use the browsers correct character encoding:

 

<meta http-equiv="Content-Type" content="text/html;charset=utf-8">

 

 

a) You are using a non-Japanese OS/machine without Japanese character support installed. In such case you will not be able to edit or view Japanese text within the editor. Within the WYSIWYG view you will only see rectangles or other typesets, but no Japanese characters. You will not even be able to view the text in your standard browser and most likely the OS/browser requests the OS installation CD-ROM.

 

 

b) On a system with a non-Japanese default input language, e.g. English, it is obligatory to perform the following steps on the client system in order to display Japanese character sets within edit-on Pro.

 

Step 1: Windows system specific settings:

 

  • Open the 'Regional Options' Dialog within Windows's control panel
  • Within the option 'Language Settings for the System' additionally check Japanese (could require separate installing / reboot of the system)
  • Now it should be possible to enable the Microsoft Japanese IME in the 'Input Locales' and input Japanese character into non-Java applications like Wordpad etc.

Step 2: Java application specific settings:

 

  • Open the client JRE's ./lib directory (usually located in the windows 'Program Files' directory)
  • Within this ./lib directory you will see several font.properties.XX files
  • Rename the "font.properties" file to e.g. "font.properties.original"
  • Rename the "font.properties.ja" file (This file includes font definitions for Japanese characters) to "font.properties"
  • Close and restart your browser
  • Now you are be able to enter Japanese characters into WYSIWYG and see them properly, even view with standard fonts like Arial, Times etc.

Please note: There could be more than one instance of the JRE directory on your system in case you've installed a Java SDK package including the JRE. Please ensure to perform the following steps in the correct directory where JRE is located. I would recommend you to check the correct path by pressing "s" within the Java console. The "javaplugin.jre.path = C:\....\Java\j2re1.4.2_04" will tell you where you should perform the changes as described above.

 

 

c) You are using a Japanese OS/machine with a Japanese keyboard etc. Now edit-on Pro will fully support Japanese characters. You can edit/type any Japanese text within the WYSIWYG view, save the document in a HTML file and re-open it.

 

Copyright © 2000-2008 RealObjects GmbH