` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Multilanuguage capabilities
2002-10-13 -- Tanya Lumkis
 
I have an app that supports some multi-langual capabilities on certain fields. I allow the user to dynamically change to a number of languages (Russian, Greek, English, Vietnamese). Depending up what business functions the your app will undertake you will need to change the charater set at the appilcation or window level. Or you can change it for individual fields as required. SetFont(0,,,,,Charset:Cyrillic) SetFont(?Some:FieldName,,,,,Charset:Cyrillic) If you are using the email templates i've found using a variable to define the language allows the user to dynamically change the language setting. Local:Language = '/plain;charset="iso-8859-5"' charset="iso-8859-1=5' will need to be inserted Message.AddBody(Some:Field,Content:text,clip(Local:Language,QuotedPrintable.IEncoder) You will find that the Cyrillic character set should still support the latin based alphabet as well. I also have found that choosing a unicode font (like Lucinda Unicode) will help. If you are using Win2000 or XP you can add Russian as one of the languages and switch to the Russian to check that display and entry etc. works. (To input Russian characters use the On-Screen Keyboard if you don't have a dual mode keyboard) Of course if your Russian clients are running the Russian version of Windows they won't have too many problems. You will find that using the dictionary to scan any files will not display the correct character set unless you have Russian Windows. However, when you display the records with the character set = cyrillic they will display correctly. The clarion help does have an explanation of character sets under Fonts. Also you can check out http://www.iso.org (International Standards Org) and http://www.ietf.org/ for info on character sets and the Internet.


Today is November 21, 2024, 6:50 am
This article has been viewed 35223 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: