UTF-16 support

I'd like to determine what non-Latin characters can be displayed on my handset. Using the encoding UTF-16BE does not throw an exception and I can create Latin characters and basic symbols. However when I try Greek, Hebrew, and such the generated strings are blank.
I understand that full UTF-16 support is the manufacturer's preference, however these characters are displayed elsewhere in the UI (e.g. if I change languages). What's more, I've been told the phone UI is written in Java, though I can't confirm.
I imagine the problem could be a one of several levels:
1. The extended characters are accessible through some other encoding, just not UTF-16.
2. My code uses LWUIT, perhaps it cannot render these characters.
3. Extended characters aren't supported on the phone's JVM even though the native UI uses them.

Dude,
UTF-8: I'm looking to represent Asian symbols so unless I'm horribly wrong those aren't in UTF-8.Please have a look at [this UTF8 table|http://www.atm.ox.ac.uk/user/iwi/charmap.html] At my work place we have software that uses Traditional and Simplified Chinese, Thai, Vietnamese, Greek, Russian and few more and all are achieved using UTF8.
Source values: I've dumbed it down as much as possible, by creating hard coded strings with various byte values. I can be confident in the syntax, endianness, and signed byte issues because a the Latin portion of UTF-16BE works fine. Does it mean that your string has value similar to: u023f,u002d,... and you do parsing of that to a byte array and then creating the String object by using this byte array and correct encoding identifier? Or do you hardcode the string you want to display using the actual characters? In second approach you have to make absolutely sure that your code editor or IDE (Eclipse, Netbeans, ...) use exactly the encoding that you are trying to achieve. Even when the text is correctly displayed on the computer screen does not guarantee that it will be saved and read using the same encoding, which you can appreciate is essential here.
Again I urge to use the UTF8 encoding in order to be sure about the font support. It is the simplest to implement of all Unicodes and for that reason vendors would choose it over any UTF-16.
Java native UI: This is just hearsay I've picked up. If this is the case, it's plausible that Samsung is running a JVM for the UI and another for client games and apps. It certainly makes sense from a mfg cost standpoint. It's sorta immaterial, other than being definite proof that the extended encoding exists in the Java libraries.JVM is a quite sizeable thing to run in order to get the UI. What would be the scenario if your Java UI threw an exception? I am not native app/UI expert, but unless Java is a integral part of the core system (like in Android), UI stays native. Again, I might be wrong here at it really does not matter in the context of your problem.

Similar Messages

  • Unsupported Content-Type: text/html;charset=utf-8 Supported ones are: [text

    Hi I am in trouble with JAX-WS 2.1.2M1
    I try to call my Webservice like this:
    Service service = Service.create(serviceName);
            service.addPort(portName, SOAPBinding.SOAP11HTTP_BINDING, "http://spblue.liberty:8084/SPBlue/GlobalLogoutService");
    Dispatch<SOAPMessage> disp = service.createDispatch(portName, SOAPMessage.class, Service.Mode.MESSAGE);
            SOAPMessage message = XmlUtil.getSOAPMessageFromString(request);
            SOAPMessage response = disp.invoke(message);when my disp invokes I get following Exception which seems to as a little Problem, anyway I don�t know how to get rid of this Exception.
    com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/html;charset=utf-8 Supported ones are: [text/xml]
    at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:116)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:280)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:158)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:74)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
    at com.sun.xml.ws.client.Stub.process(Stub.java:234)
    at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:166)
    at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:192)
    at test.service.Logout.requestLogout(Logout.java:115)
    at test.service.Logout.main(Logout.java:149)
    ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
    JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820]
    my ServiceClass is:
    @ServiceMode(value=Service.Mode.MESSAGE)
    @WebServiceProvider( targetNamespace="http://spblue.liberty:8084/wsdl/globalLogout")
    public class GlobalLogoutServiceImpl implements Provider<SOAPMessage> {
         * Web service operation
        public SOAPMessage invoke( SOAPMessage logoutRequest ){
            return logoutRequest;
    }So how can I set the Charachter set before invokikng the service.
    Or how can I change the Service to accept UTF-8.
    Well, I don�t know.
    Any help is welcome.

    Hi,
    I don't know if this can help you, but I had a similar problem while invoking a web service. Eventually, I found out that the server was returning an html error page, and not the expected xml answer.
    That's why the client code raises such an error... It means that the MIME type of the anser is text/html (for the html page) and not the text/xml type of the 'nominal' web service answer.
    You can verify this by using a proxy to intercept the http request and answer involved in this web service invocation (use Fiddler for instance). Then, you will see that the server responds by sending an html page saying that something is wrong.
    Hope this helps...
    Sam

  • [SOLVED] Is full UTF-8 supported in unicode-rxvt?

    Does urxvt have full UTF-8 support, or it only supports 16 bit unicode characters?
    I have set inconsolata font for URXVT adding to .Xdefaults this line: URxvt*font: xft: Inconsolata:pixelsize=17:antialias=True:hinting=True
    I can write most characters, like á, ñ, etc. But It looks like characters with codes greater than 16 bits are not printed. E.g.:
    - If I open XFCE Terminal (also configured to use Inconsolata font) and input: [CTRL]+[SHIFT]+U,1F600, it outputs the smiling face.
    - If I open urxvt ant while holding [CTRL]+[SHIFT] type 1F600, only an empty rectangle is shown.
    The same happens for other characters I have tested with codes greater than 16 bit. It works flawlessly though with 16 bit codes. Is there a way to make these characters to work? I need the smileys because of the telegram CLI client...
    Last edited by doragasu (2014-03-08 20:41:45)

    locale output:
    LANG=es_ES.UTF-8
    LC_CTYPE="es_ES.UTF-8"
    LC_NUMERIC="es_ES.UTF-8"
    LC_TIME="es_ES.UTF-8"
    LC_COLLATE="es_ES.UTF-8"
    LC_MONETARY="es_ES.UTF-8"
    LC_MESSAGES="es_ES.UTF-8"
    LC_PAPER="es_ES.UTF-8"
    LC_NAME="es_ES.UTF-8"
    LC_ADDRESS="es_ES.UTF-8"
    LC_TELEPHONE="es_ES.UTF-8"
    LC_MEASUREMENT="es_ES.UTF-8"
    LC_IDENTIFICATION="es_ES.UTF-8"
    LC_ALL=
    But I don't think this is a locale problem, because as I already wrote, I can write most characters, including spanish (es_ES) ones like á, Á, ñ, etc.

  • UTF-8 Support

    Hello,
    I'm trying to send some queries to the dbxml 2.5.14 and I get the following error:
    XmlInvalidValue: XmlException 14, Error: checkTrailingBytes: bad utf-8 encoding File: \dbxml-2.5.13\dbxml\src\dbxml\nodeStore\NsUtil.cpp Line: 198
    Inside the Queries there are some special german letters [ä,ü,ö,Ä,Ü,Ö].
    Importing xml-files with these letters works fine. But using Queries I get the above error.
    I looked into the file NsUtil.cpp and for me the UTF-8 Support is well implemented.
    I read something about missing UTF-8 Support in the used CommandLine/Shell.
    I'm using Win XP and Python 2.5, and they both have UTF-8 Support.
    So why do I get this Error??
    Thanks for your help.

    Hello
    I have a similar problem which I cannot manage to solve. I followed your example and wrote:
    String expression = "doc('teste.dbxml/ação')";
    expression = new String(utf8.encode(expression).array());
    but I continue to get the following exception:
    com.sleepycat.dbxml.XmlException: Error: Invalid URI format [err:FODC0005], errcode = QUERY_PARSER_ERROR
         at com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_prepare__SWIG_1(Native Method)
    Can you maybe show your complete solution?
    Thank you
    Koen
    PS: my container teste.dmxl is extremely simple, containing only one document:
    dbxml> open teste.dbxml
    dbxml> get
    1 documents found
    dbxml> printn
    ação
    dbxml> print
    *<?xml version="1.0" encoding="UTF-8"?>*
    *<ação nome="ação"/>*

  • [SOLVED] NTFS-3G UTF-8 Support

    Ever since the "todo: have to rethink extra options" error started showing up on NTFS-3G, I've been using the /usr/share/hal/fdi/policy/10osvendor/20-ntfs-config-write-policy.fdi fix found at <http://bbs.archlinux.org/viewtopic.php?id=42070> (fifth post down, by Pilli).
    That would allow me to mount external NTFS partitions, and by changing the contents of /sbin/mount.ntfs-3g to
    #!/bin/bash
    /bin/ntfs-3g $1 $2 -o locale=en_GB.UTF-8
    and making it executable, I was able to restore UTF-8 support.
    On a new Arch install today, I tried mounting my external NTFS drive without using the fix shown at the top of this post. I was overjoyed to find that it mounted, as well as an internal NTFS drive. However, I noticed I did not have UTF-8 support. I tried using the UTF-8 fix shown above but it seems it does not work now. Does anyone know how to restore UTF-8 support with the new NTFS-3G package?
    Last edited by tony5429 (2008-10-18 22:16:01)

    the fix from the first post in this topic worked for me fo far
    now when i use this fix, and try to mount a disk there's "unknown error"
    christ it's an outrage the hal option doesn't get parsed like it's supposed to after all this time!!
    how to make hal automount a ntfs-3g drive with utf-8 locale?
    Last edited by _saiko (2008-10-27 23:52:43)

  • UTF-8 Support in E-mail ID??

    Is it possible to have UTF-8 compliant alias in Exchange 2013???
    I am unable to add a new MB with alias in UTf -8 character. However, if I didn't provide an alias it will accept the logon name as its alias and logon name supports UTf-8. So Indirectly alias is supporting UTF-8.
    In exchange 2010 , it does not support UTF-8 alias any how.
    So is it a bug with Microsoft exchange 2013 ???

    Hello,
    The TechNet Wiki Forum is a place for the TechNet Wiki Community to engage, question, organize, debate, help, influence and foster the TechNet Wiki content, platform and Community.
    Please note that this forum exists to discuss TechNet Wiki as a technology/application.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • UTF-8 support in Web AS Java 6.40

    Hi, All,
    Our web application running on Web AS 6.40 with SQL Server 2000 needs to support multiple languages. We create the tables with column type NVARCHAR, set encoding scheme to UTF-8 for JDBC driver, add '<%@ page language="java" contentType="text/html;charset=UTF-8" %>' header in every JSP file and execute request.setCharacterEncoding("UTF-8") before every request is posted to the server. Everything is fine when running the same application on Tomcat with the same database & JDBC driver, enter Chinese charater in web page, store them in table, display result back... But the application deployed in Web AS Java cannot save and show Chinese character correctly.
    I think I must miss some points here because UME actually supports to create user and role in Chinese...
    Any help is deeply appreciated.
    John

    I found what causes the problem.
    I use resource bundle to handle i18n and one of bundle is myapp_zh.properties for Chinese locale. In browser I add  Chinese [zh] in Language Preference then the web page should display Chinese character.
    What puzzles me is that encoding of the page with Chinese characters is Chinese Simplified (GB2312) rather than UTF-8. Tomcat correctly sets page Encoding to UTF-8 since I specify <%@ page language="java" contentType="text/html;charset=UTF-8" %> in each JSP file. Why Web AS ignores this and returns Chinese character in GB2312?
    Thanks a lot
    John

  • UTF-16 Support on Solaris??

    I am new to Solaris..I just have one question.
    I know that Solaris supports UTF-8. Does Solaris support UTF-16.
    Regards,
    Vinod Varkey

    Is it possible Solaris does not have support for UTF-16 encodings.?Seems very improbable... http://java.sun.com/j2se/1.3.0/docs/guide/intl/encoding.doc.html

  • HTML editor with syntax highlighting and UTF-8 support

    In an ongoing effort to move our lives into the cloud and into our pockets (and as a part of an article series for a tech blog), me and a friend are trying to completely replace the need for computers with our iPhones.
    In some ways, it is going splendidly (Documents to Go Premium + foldable bluetooth keyboard = all my writing needs as a journalist solved). In others, concessions have to be made (as a practicing musician, my options are a bit limited, but with the help of Xewton Music Studio, Multitrack DAW/NanoStudio, etc, I can at least lay down some basic tracks, create basic MIDI compositions, etc).
    However, there is one area in where we’ve made no headway at all. My friend has the great misfortune of being blessed with logic , and therefore, unlike me, does honest programming and web app designing work. And as far as we know, there is not a single HTML/script editor with more than just the bare, basic functions in the app store.
    What we need is this:
    * Syntax highlighting
    * Support for UTF-8
    A built-in FTP editor would be a nice bonus, but is not essential.
    We found one for the iPad, but when we contacted the company behind the app, they revealed no immediate plans for an iPhone version. (They felt coding on the iPhone was, at best, impractical, but they did concede the fact that if there are indeed users who have that need, the existence of an iOS HTML editor would be justified, and possible lucrative, regardless of their feelings on the matter. On that ground, they promised to examine the possibilities to port their iPad app in the future, but so far, no signs.)
    Does anyone know of such an app? Rest assured your assistance will be mentioned in the article series should you point us in the right direction

    Unfortunately, my friend has offered his iPhone an ultimatum. No syntax highlighting, no computer replacement. It is strange that such as standardized feature has not found its way into any known HTML editor for iOS.
    But FTPOntheGo seems to be a great app in general, so thanks!

  • UTF/Unicode support

    Hi,
    Does Oracle Berkeley DB support unicode/utf-8 charset?
    Could you please let me know?
    Thanks,
    ananth

    Hello,
    From the Berkeley DB Reference Guide at:
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/intro/dbisnot.html
    Notice that Berkeley DB never operates on the value part of a record.
    Values are simply payload, to be stored with keys and reliably
    delivered back to the application on demand.
    Both keys and values can be arbitrary byte strings, either fixed-length
    or variable-length. As a result, programmers can put native programming language data
    structures into the database without converting them to a foreign record format first.
    If that does not answer your question, please let me know.
    Thanks,
    Sandra

  • Packages for UTF-8 support in S10?

    Which packages do I need to have installed on my Solaris 10 systems in order to use UTF-8 locales? Specifically, I want to be able to do something like this:
    # LANG=en_CA.UTF-8 asadmin start-domain domain1I want to run my JES app server with LANG set to a UTF-8 locale. When I do this right now I get a "could not set locale" error message.
    Thanks,
    Mark

    If you just want en_CA.UTF-8 locale to be installed, you may need SUNWnamos (Northern America OS support) package.
    To check, if the package is already installed:
    pkginfo -l SUNWnamosOr check under /usr/lib/locale directory.

  • Query on utf-8 support

    hi, I am using oracle 11g.
    I want to insert utf-8 chars (chineese, japanees) chars in table.
    I have already created tables with column data types 'varchar'.
    my doubt is setting "NLS_LANG=AMERICAN_AMERICA.UTF8" is enough or do I need to change column data type to nvarchar.
    please help.

    Was the database created as a UTF8 database?
    Setting Up a Globalization Support Environment

  • UTF-8 support in Oracle 8.1.6

    In order to use UTF-8 encoding(for chinese language), do I need to use Oracle 8.1.7, or is 8.1.6 enough ?

    Hi satish,
    Can we use UTF-8 for 'Indian' charcter sets like DevNagari? It
    is given in the documentation but when I tried it actually using
    then I can't insert values into tables with nvarchar or nchar
    columns.
    Pls revert if u have used this.
    Manoj.

  • Crystal Report 9 - Can't Display UTF-8 Data

    Dear Sir,
    I am using PHP with Crystal Report 9.2 and has problem displaying UTF-8 data from MSSQL field. It shows weird characters instead. I am very sure the data stored in database is in UTF-8 because when I ouput it into the web browser with encoding as UTF-8, it shows correctly. Currently is using ADODB recordset to pass data into CR. I tried using ODBC to connect directly to database and preview the data - same issue.
    Now I wonder whether are there any settings need to be done in CR in order to display unicode correctly? From what I read, CR 9 and above should be able to support unicode.
    Thanks
    AL

    To be honest, I have no idea if TTX files supported UTF-8... I kinda doubt it. I'd check, but the only person I knwo of that may have a clue is not in until September 28...
    Re. ODBC, see if adding the following option to your DSN entry in the odbc.ini file will help:
    stmt = SET CHARACTER SET utf8
    Also, if I remember right, MS SQL does not install UTF-8 support by default (at least at one time or another it did not...(?).
    Oh - one more thing. I've attached a non CR app that I'd like you to use to see what the data it returns looks like. Please give that a try.
    - Ludek
    Edited by: Ludek Uher on Sep 7, 2011 10:43 AM

  • ?xml version="1.0" encoding="UTF-8"? generates error=unsupported encoding

    Why does the header with encoding set to UTF-8 get rejected by the Oracle XML C++ V2 Parser when one of the features of this version is UTF-8 support?

    Hi
    If I change my document header from <?xml version="1.0" encoding="UTF-8"?> to <?xml version="1.0"?> then it parses without error. Will this situation change if I intall ORACLE_HOME? If so, why do I need to install ORACLE_HOME to get the XML Parser to work?
    Thanks.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by xmlteam ([email protected]):
    Hi,
    Do you have your ORACLE_HOME set up correctly?
    Thanks,
    Oracle XML Team<HR></BLOCKQUOTE>

Maybe you are looking for

  • PPro engine for video playback question

    Joe mentioned in another thread that Encore 2.0 uses "PPro engine ... for video playback, instead of DirectShow". Does this imply that Encore DVD requires a CPU with the SSE2 instruction set like PPro does? Thanks.

  • Macbook to Panasonic Viera HDTV issues :( HELP!

    Hi I recently bought the correct cables to connect my macbook to the TV using HDMI. The macbook connects to the TV and I can see this because in the system preferences 'Display' Panasonic TV settings come up. The thing is there is no macbook picture

  • XSLT question

    Hi all, Need help on reading attribute value of XML field in XSLT mapping . Part of source code, where we want to read attribute actionCode value i.e., "Accepted". <ResponseCriteria actionCode="Accepted">                                    <ChangeSta

  • PSE 6 slide show photos too large for TV screen

    I have been collecting, scanning and saving family photos for over a year to create a slide show for my 81 yr. old Dad. I create a slide show with PSE 6, save to a CD and play on the TV. No matter what pixel size I resize the photos to they are still

  • Limit on records while loading flatfile using BPS GUI.

    Things done, 1. planning function of type exit 2. one FM for initialize the data and one FM for loading the data. 3. the first FM is been modified to ask for a file using select file popup 4. the data is getting loaded into the system succesfully. 5.