Displaying non-western characters

Hi there,
I am developing a midlet where I handle some arabic words.. I have a pb, I
cannot display arabic character . I used the following code, unfortunately
it does not work, unfortunately I got a sequence of question marks
displayed in the txtfield. In addtion I used different emulator Nokia s40, s60,
sun java emulator.
try{
textField1.setString(new String("الكتاب".getBytes("UTF-8")));
} catch(UnsupportedEncodingException e) {
e.printStackTrace();
thank you for your help
A.E.K.

Use unicode representalion of the characters that you wanna display on to the device.
Also, the font engine on the device on which you are testing you app must support arabic charset inorder to render the characters.
~Mohan

Similar Messages

  • Displaying non-western characters (arabic, hebrew, japanese etc..)

    Hi there,
    I am writing a midlet where I handle some arabic words.. I have a pb, I
    cannot display arabic character . I used the following code, unfortunately
    it does not work, unfortunately I got a sequence of question marks
    displayed in the txtfield. In addtion I used different emulator Nokia s40, s60,
    sun java emulator.
    try{
    textField1.setString(new String("الكتاب".getBytes("UTF-8")));
    } catch(UnsupportedEncodingException e) {
    e.printStackTrace();
    thank you for your help
    A.E.K.

    Use unicode representalion of the characters that you wanna display on to the device.
    Also, the font engine on the device on which you are testing you app must support arabic charset inorder to render the characters.
    ~Mohan

  • Dwm - Display non-western chars

    I want to display some non-western chars in my dwm status bar, i.e. Greek and a few Arabic
    I tried to compile dwm with some Greek and Arab chars for the tag names but dwm only displays some dotted '[]' instead of my selected chars.
    Is there a possibility to use non-western characters as tag names in the dwm status bar?

    upsidaisium wrote:
    as dolby mentioned, this has been brought up again in the mailing list.  not sure if it was resolved, though.
    terminus might be a decent font to choose, but i think you might run into the same problems again anyway
    There is a testcase there though :
    http://www.suckless.org/pipermail/dwm/2 … 03391.html
    wget -q -O - nic.ru | iconv -f windows-1251 -t utf-8 | grep '<title>' | dmenu -fn "-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-1"
    That doesn't work properly indeed. But with "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*" instead, it works fine.

  • Linux or Java? :Cannot display non english characters

    hi,
    i am trying to implement a GUI that supports both turkish and english. user can switch between them on the fly.
    public class SampleGUI {
    JButton trTranslate = new JButton(); /* Button, to translate into turkish */
    /* Label text will be translated */
    JLabel label = new JLable("Text to Be Translated!");
    trTranslate.addActionListener (new ActionListener(){
    void ActionPerformed(ActionEvent e){
    String language="tr";
    String country="TR";
    Locale currentLocale;
    ResourceBundle messages;
    currentLocale = new Locale(language, country);
    messages = ResourceBundle.getBundle("TranslateMessages",currentLocale);
    /* get from properties file turkish match of "TextTranslate "*/
    label.setText(messages.getString("TextToTranslate"));
    Finally, my problem is my application does not display non english chracaters like "� &#351; � &#287; � i" in GUI after triggering translation.However, if i do not use ResourceBundle and instead assign directly the turkish match for that label (i.e. label.setText("&#351;&#351;&#351;&#351;&#351;")), GUI successfully displays turkish characters. what may be the problem?
    ps : i am using redhat linux8.0, j2sdk1.4.1. current locale = "tr_TR.UTF-8". in /etc/sysconfig/keyboard , keyTable = "trq". There seems no problem for me as i can input and output
    turkish characters. OS supports this. Also jvm gets the current encoding from OS.It seems as if there is a problem in reading properties file in inappropriate encoding.
    thanx for dedicating ur time and effort,
    hELin

    CROSSPOST: http://forum.java.sun.com/thread.jsp?forum=31&thread=373338&tstart=0&trange=30

  • Display non-english characters in its own corresponding language in excel

    Hello Experts,
    I have description texts in chinese and other languages which is visible properly in the debugger in my internal table.
    After downloading the data into an excel sheet into my file path, when opened the non-english description is displayed as ####
    Please help me in displaying the non-english descriptions in the excel sheet in its own corresponding language.
    Note:  Function module used : GUI_DOWNLOAD
                 File type assigned       : 'ASC'
    Edited by: keerthi shanker on Mar 14, 2008 11:02 AM

    Hello Vasanth,
    Please explain about what did you mean by 'Last Button in SAP screen'
    Well, to re-iterate my problem, I have data retrieved from SAP database that has values of multi languages which is displaying properly in the internal table as checked in the debugger.
    After the execution of FM 'GUI_DOWNLOAD', when i open the file from my desktop, the non-english characters like the chinese and japanese are each character is displaying in HASH symbol.

  • Display non-english characters

    Hi,
    How can i display Japanese, Chinese characters in a java application or applet? do i need some special tools?
    Thanks,
    eileen

    Since Java supports unicode you don't need special
    tools only a font which is able to display japanese or
    Chinese charaters. For Windows:
    http://www.hclrss.demon.co.uk/unicode/fonts.html
    You can display a unicode char with /uXXXX have a look
    at
    http://www.unicode.org/charts/
    Or you already got a file with unicode characters....
    have funThanks for your help.
    But how can i put something down by checking that Unicode table from time to time? That's almost impossible...
    suppose i've put some Japanese characters into a file, what type of file should i save it as? save it as a html file or something else?
    and if i want the context of a label to be "xxxxx"(in Chinese), what should i do? JLabel label = new JLabel("???") how can i put some chinese characters to replace "???" ?
    and how can i input Japanese/chinese characters under Mandrake?
    Thank you very much,
    eileen2

  • My Firefox cannot display non-English characters, even though I have tried every language encoding I have!

    I am a big fan of Japanese songs and websites, so I was very disappointed when I saw that Firefox could not handle any non-English characters. I have tried every encoding I can, but none work and I just see boxes with numbers and letters inside. I have only just got this older laptop for my birthday - my old laptop which ran Windows Vista and had Firefox 4 had no trouble at all. Please help me!

    hello muoshui, please enter '''about:config''' into the firefox location bar (confirm the info message in case it shows up) & search for the preference named '''network.http.accept-encoding''' - right-click and reset that entry to the default value.
    if this does not resolve the issue already, please also go through the steps offered at [[Websites look wrong or appear differently than they should]].

  • Non-Western characters don't work on MacOS

    I have a Java application which can display cyrillic characters fine on Linux. But the cyrillic characters do not show up on Mac OS X 10.1. It is a simple String inside a JTextPane. Is there something special I need to know in order to make it work on MacOS?
    - Daniel

    Hey, I also have the same problem on Windows. I think the problem is because Java supports UTF-16 while I think windows support UTF-8. All I can see is '?' marks for the chars.
    Anyway if anyone has a solution ????

  • Photoshop Automation Plug-in - Getting non western characters from layer names and layer text

    Hi To all members of the forum.
    My name is Momir Zecevic and i have developed automation plugin for  Photoshop and it work well for almost 8 years now (Windows XP, Vista, 8, Visual studio 97 and Photoshop 7 SDK). However client for which I have written plugin wants me to add possibility for  new version so that plug-in can read  international characters from text layers (Russian , French German etc) as well as layer names if they have international characters in it.
    I have tried  but seems that I am missing something obvious
    Here is example what I get from getter
    Example:
         error = sPSActionDescriptor->Make(&desc00000B28);
         if (error) goto returnError;
         error = sPSActionDescriptor->PutString(desc00000B28, keyName, "X????????X");
         if (error) goto returnError;
    Layer name is on cyrilic (i hope that it will be displayed right here) XШЂЧЋЖЊЕЏX
    Can someone point me in the right direction.
    Thank you very much.
    Regards,
    Momir Zecevic
    Ars Media
    www.arsmedia.tv

    Tom,
    Thank you very much on your response. i'll give it a try tomorow and post results here when i have them.
    Thanks again.
    Regards,
    Momir Zecevic

  • Displaying non-ascii characters in SQL Plus Windows

    Hi,
    is it possible to display data from more than language at the same time in SQL Plus? Or can you do this only one language at the time?
    Thanks,
    Cornee van der Linden

    I think this question is better suited to the globalization discussion forum, Technologies -> Architecture -> Globalization and NLS. Sorry I can't be of more help.
    Alison

  • Support for non-western character sets

    I've been reading docs for WL portal and for WL server, but basically I need to know...what needs to be set/installed for a Weblogic Portal 10.3 running on Weblogic Server 10.3 to have non-western characters display in the content of any portlet we may have? For instance, Arabic, Japanese, Chinese...thanks!
    Sorry, I want to add: this is assuming the encoding of the content is correct (like an html document), the database that content may be retrieved from is set up correctly, etc.
    Just basically what to configure in WL Portal, WL Server, oh and Workshop too (if anything).
    Edited by: user10697594 on Jan 5, 2010 2:56 PM

    Hi
    You dont need anything special, however the JVM you use must support the encoding you want (unless you are going with a unicode flavor like UTF-8 which all JVM's support). The rest of the i18n stuff like ResourceBundles for messages, date currency formats are handled in your code anyway.
    regards
    deepak

  • Non-western languages showing up reversed...

    I'm trying to copy & paste various Indian languages from Word into my InDesign CS3 document, but in InDesign the foreign characters are not showing up properly - a lot of them are getting switched around/reversed, specifically with the Vrinda font.
    Is there a way to fix this - a certain plugin I need to install or something? If so where can I find it?

    InDesign CS3 does not support non-Western script layouts at all -- and that goes for both character direction and for the required enhanced support for special character placement.
    Simply adding plugins won't work. You have to either upgrade to CS3 ME ("Middle East" version), or to CS4 or CS5 (which can display non-western scripts, but in fact that's totally unsupported -- if you want to bet your own money on it, visit "In-Tools World Tools"; they go to great lengths explaining it's not a real replacement for a real ME version, which is a refreshingly honest approach), or to CS4 or CS5 ME versions, of which I know nothing more than that they exist.

  • Missing/corrupted non-english characters in Preview

    I know there have been posts on this recently, but this is such a significant problem that I thought it worth keeping live.
    Preview does not display non-english characters in PDFs properly. Things like greek characters are either displayed as the english equivalent or are missing or something else more bizzare. This happens on my MBP and my partners MB, both running Leopard. Acrobat, Word etc have no problems. I had no issues with Tiger
    I would like to report this directly to Apple but I couldn't find how...

    Suggestions
    1) Try with NLS_LANG as
    SWEDISH_SWEDEN.WE8DEC
    2) Make a paramform and enter via paramform (unencoded)
    (This is just for testing purpose)
    3) Change machine locale to swedish and try
    4) Which reports version is this ?
    Please see
    BUG 2713695 - NLS CHARACTERS FOR PARAMETERS CHANGE TO QUESTION MARKS WHEN PASSED ON URL BAR
    Get in touch with Support to see if this is the issue and if "yes" get a one-off patch.
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • Non-western input and question marks

    whenever i try to input some non-western characters into
    flash input box all i see are ???? instead of characters. Is it
    fixable?

    It sounds like you deleted Mail, System Preferences, and iCal from your Applications folder. If you haven't emptied the trash, open the trash and see if the applications are still there. If so, drag them back to the Applications folder on the top level of the hard drive. If you moved the applications, put them back in the Applications folder. If the trash has been emptied, you need to reinstall OS X by using the DVD that came with your computer. Insert the DVD and double-click on Install OS X. The computer will reboot. Go through the installation steps and when you see Options at the bottom, click it and choose Archive and Install and Preserve Users and Network settings. Then continue with the installation. When it is done and the Mac reboots, you can delete the folder on the hard drive called Previous System Folders. Then run System Update to install the latest updates.

  • Displaying UTF-8 characters

    Hello all - I'm having a bit of trouble with my current project. I'm adding international support to it, I have an XML file with all the translated strings in UTF-8 format. I read it in using the following code:
              InputStream in = new FileInputStream(name);
              InputStreamReader isr = new InputStreamReader(in,"UTF8");
              BufferedReader br = new BufferedReader(isr);
              StringBuffer buf = new StringBuffer();
              String line = new String();
              while ((line = br.readLine()) != null){
                   buf.append(line);
                   buf.append('\n');
              return buf.toString();The string buffer is then sent off to be chopped up and parsed and displayed. However, for all non-latin characters, I get a question mark in a diamond. this code works in a very similar project, so I'm unsure why it is not working now, when almost all the program components are the same.
    Any ideas?
    thanks!
    Jake

    So the only thing that has changed is the operating system on which you are running this system?
    If that's the case then it's possible that you were (accidentally or otherwise) converting between bytes and strings using the default charset on the non-Apple machine, and this happened to work for some reason. And on the Apple machine perhaps the default charset is different, and that applecart (sorry!) got upset.
    And have you checked that you can actually display non-ASCII characters on your GUI setup from a simple program where you just hard-code those characters?

Maybe you are looking for

  • NC Log Complete webservice error

    Hello, Before opening an OSS message, the rule is first ask the forum... So I have trouble with NC Log Complete webservice. When trying to invoke it from SOAP UI, I got the following error : No enum const class com.sap.me.nonconformance.ScrapOption W

  • List must contain AbstractList (ProxyList) of Type {0}, not of {1}!

    Hi All, I am getting this exception com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException: List must contain AbstractList (ProxyList) of Type , not of ! Plz help. Regards Nikhil Bansal

  • InDesign cs5 won't load

    After upgrading my iMac to Mavericks, Adobe InDesign cs5 crashes when I try to load it. I uninstalled and reinstalled from the disk. Now I get an "Error: 5" message and it still doesn't load. How can I fix this? crossink

  • Can't access BAM from JDeveloper

    Hi, I tried to create a connection to my local BAM Server in JDev 10.1.3.1., but I always failed! Error messages: Server is not set up correctly LTMHE1 ...OR... Authentication Failed for Basic realmI'm running on Windows XP and installed BAM accordin

  • Online Processing

    Hi All,        We have a scenario like , a customer do the payment using the credit card. The credit card details will be fed into SAP system. The SAP system has to check , whether the Card is valid or not i,e it has to communicate with the webservic