ISO-2022-JP support and ISO-2022-JP-2 escape sequences

I have a mail generated by Outook with some Japanese text in. Outlook has set the charset as ISO-2022-JP. The ISO-2022-JP encoded text of the mail can be found here.
Java 1.5 and 1.6 fail to load this text properly when using the ISO-2022-JP charset. The description of this charset is JIS X 0201, 0208, in ISO 2022 form, Japanese. I'm guessing that the problem is due to the use of an escape sequence that is defined in [ISO-2022-JP-2|http://www.mhonarc.jp/RFC/rfc1554.txt]. The escape sequence is hex 1B 24 42, which means that the charset is JIS X 0208-1983.
There's no ISO-2022-JP-2 charset support in Java 1.5, not sure about 1.6.
I'm thinking about writing a filter reader as a hack to add support for ISO-2022-JP-2. I guess that if I remove the escape sequence, the text should load properly using one of Shift-JIS, EUC-JP or ISO 2022 JP. Any suggestions?
Edited by: bobajobrob on Mar 25, 2008 12:19 PM

1B 24 42 (ESC $ B) is valid in ISO-2022-JP. However, the text file includes invalid characters in the JIS X 0208 standard. The ISO-2022-JP converter in Java strictly follows the standards.
There are some ISO-2022-JP "variants" that are supported under different encoding names with compatibility workarounds. Please refer to Sun's bug ID 6173388 for details.

Similar Messages

  • How to find the ISO-2022-JP escape sequence

    Any suggestions(a tool or a Java Program) for finding the escape sequence of any given character in IS-2022-JP.
    For example I am trying to find the escape sequence for "�" charater.

    Luis Cabral wrote:
    However, one single sequence would have exactly the same practical result and would be 200x easier to create and maintain.But keep serialisation in mind. A sequence is a single object that needs to service multiple callers, providing each caller with a unique number. So this object needs to support parallel calls (i.e. it needs to be threaded in plain programming terms).
    At the same time, each of these "threads" need to ensure that they do not hand out duplicate numbers - so they need to serialise between themselves to decide who gets what unique range of numbers to hand out.
    So the more intensely a sequence is used, the bigger the likelihood of potential serialisation. So there are performance considerations.
    There's also data management considerations. Do you want a table to rely on an object such as a sequence that is shared by a number of other tables? Or do you want that table to basically "own" that sequence and not have shared dependencies?
    The only reason you might need a separate sequence would be when the generated number is displayed and is somehow meaningful to the user (e.g. an order ID.) But if the number is only used internally to join FKs to PKs, I don't see the need to have a separate sequence for each table.I would not call a sequence number itself, "meaningful" in anyway. It's only purpose when used as a surrogate key is uniqueness - not identification/interpretation is some way that provides some kind of (abstract) meaning.

  • India Localization - Does it support IR / ISO across OUs

    HI
    Does India Localization support use of IR and ISOs between two different operating Units? we are on version R12.0.6
    Regards,
    Utkarsh
    Edited by: Utkarsh on Sep 29, 2009 4:32 AM

    just to correct myself. I had a short break and rewinded some years back to remember that NFS uses UDP (in fact sun RPC was developed to support NFS) and that sun RPC allowed both UDP and TCP. sorry about that:)
    Meanwhile, I found out that Berkeley implemented their own version of RMI , one aspect of which is "UDP-RMI".
    check it out at
    http://now.cs.berkeley.edu/Millennium/groups/GRP_SIMS/annual.html
    If you check SUN's RMI implementation code however you may confirm that they don't support UDP.
    Nuno

  • OWB support for ISO Week number?

    Is there any way to get the Time dimension wizard to support the ISO standard for Year and Week numbering (formats IYYYY and IW)?
    I need to set up a time dimension for our data warehouse and our company uses the ISO Year/Week numbering schemes (see http://en.wikipedia.org/wiki/ISO_8601) if you don't know what these are.
    Failing that I can try to create my own but it looks like a tedious process calculating all of the durations, start and end-dates.
    Any guidance would be appreciated!

    hi,
    thanks - i did check the docs :)
    the problem is that Calendar's idea of what the first week in the year is differs from the ISO standard
    the problem is that the ISO standard defines the first week of the year as that containing the first Thursday (ie some days may become part of the previous year's weeks)
    and Calendar defines it as the docs state - so to change the value returned would mean you having to change the "FirstDayOfWeek" or the "MinimalDaysInFirstWeek" - which (without checking recently) I think the ISO standard also defines so you can't safely change these
    I might raise a RFE against Calendar about this in a week or two since it seems quite important?
    thanks,
    asjf

  • Is there a fix for the connectivity problems with iPhone 5S and ISO 7.0.2?

    Is there a fix for the bluetooth connectivity problems with iPhone 5S and ISO 7.0.4?
    I am having problems connecting the BT Audio and the handsfree phone connectyion is unreliable in 2012 Mitsubishi Lancer XL.
    All worked OK with ISO 6.

    Hello CraigNicholson
    You would need to sync with iTunes to get that process to work for you. Check out the article below for more information on how to resolve that issue to get the proper token to use Push Notifications again.
    iPad and iPod touch: Unable to use YouTube or Push notifications
    http://support.apple.com/kb/ts3305
    Regards,
    -Norm G.

  • Sun Java System Messaging Server doesn't support some ISO 8859 charsets

    Hello,
    I couldn't find any link to report bugs on the Sun Java System Messaging Server, so i guess i'll report it here:
    Sun Java System Messaging Server currently doesn't support the ISO 8859-13 charset, which is the standard charset in the Baltic states. When a person recieves an email in that charset, every non-ASCII character in the message becomes absolutely unreadable when displayed in this webmail application.
    This has been tested with this version of the product:
    X-Mailer: Sun Java(tm) System Messenger Express 6.1 HotFix 0.01 (built Jun 24 2004)
    Furthermore, you can test the case by yourself using this link: http://www.lietuvybe.org/testas/. You can enter your e-mail address there to get a few sample messages in Baltic and Cyrillic charsets. You will see that the Sun Java System Messaging Server passes all those tests except this particular one. So, it's a very nice product. :)
    It would be very very very cool if Sun would fix this small, but very important issue.
    regards,
    Rimas Kudelis

    Hey! :)
    I am feeling some bad vibes, here.Hey, sorry, I didn't want you to think it's personal. I didn't really mean to hurt you or whatever. You are trying to help and I do appreciate that. I really do.
    The reason i'm a bit sad is about the policy of others:
    First, i am not a provider of that webmail service i'm talking about. A big Lithuanian company is. Personally, I rarely use webmail apps at all, and even when i do, i use an app i internationalized myself. :). Meanwhile, i install Horde IMP as a webmail application for my small servers, and i'm satisfied with it.
    The problem i described is literally not my problem. It's a problem of that big Lithuanian company mentioned above (and the users of its webmail system). I suppose this company does have that account already and, furthermore, they are the ones who should post to this forum or file a support request., and they are the ones who should be worried about that bug. However, reality differs. In reality, big companies in Lithuania don't care about correctness of their webmail apps too much. However, there are a few maniacs like me who do. We test their webmail apps, we contact them and describe them their problems and ask them to fix those problems. Sometimes, they do that, but in most cases we either don't get a reply at all, or we get something like "we'll take a look at it later". For example, lately, we had an issue with one of the most popular webmail providers in Lithuania skipping a MIME-version header. Fixing this issue is just a single line of code. However, we had to push them annoyingly for kinda few months until they finally fixed it.
    That was the first aspect.
    The second is that i don't really like to create hundreds of accounts for myself just to ocasionally report bugs like this one. If only Sun would let me to simply file a bug, and forget that, i would gladly do it. But no, i have to find a deeply hiden support page, then fill a form, create myself an account and a password, then log on, then fill some misterious support request... Do I have to do that for a company that won't even consider thanking me? I think that's too much. Furthermore, every party on the net enforces it's own username and password restrictions. That sucks too. I wish i could just log on as "rq" everywhere like this forum, using the same password i could easily remember. However, i have to use "rq", "er-ku" or "erku" or "rq@something" as my username on different platforms, and sometimes even my (long enough) password is not accepted. It's hard to track such accounts, and in most cases like this one, i don't really want to have an account at all, as i'm just passing by.
    To summarize the post: I'm NOT a licenced user, and all I wanted was to file a bug, which affects licenced users and ordinary people.
    How do i remove my account from this forum now? :)

  • UCS support for ISO install LMS 4.1

    Hi,
    can we install the ISO LMS 4.1 directly on a UCS platform?
    What platform UCS is supported?
    Do you have install experiences you can share?
    Is the ISO LMS 4.1 a Linux implementation?
    kind regards
    Ad

    I installed it onto of Windows 2006 R2 on a UCS C200 M2.
    You can turn anything into an iso, it just a format of how things are writen on a disk. That's why you can mount and iso file as a disk.
    The linux version comes as an ".ova " virtual appliance you can load into a VMware host.
    I think the machine could probably run an ESX server and run 2 or 3 LMS servers depending on the number of devices to manage.
    For performance reasons buying a bigger box won't help. I've installed LMS on pretty heavy systems and GUI performance remains bad.
    I think the problem is with the tomcat part of things. That process is responsable for the web gui. AFAIK Cisco provides no guidance on this.
    Cisco says performance will be better in the next version as usual.
    Cheers,
    Michel

  • I have an iphone 3g I tried to dl an app for netflix and it said i need to have ISO 5 but my phone has ISO 4.2.1 and when i try to update it I get message saying I have current version how or what can i do do to get an app the lets me watch netflix on my

    I have an iphone 3g I tried to down load  an app for netflix and it said I  need to have ISO 5 but my phone has ISO 4.2.1 and when I  try to update it on my computer through itunes  I get message saying I have current version how or what can I do do to get an app the lets me watch netflix on my  iphone 3g .Is there an sulision to my problem? I also tried another app with another name diff from netflix and I got the same message saying i need ISO 5 .Someone please help  thank you

    Thank you for your help are you aware of any apps that will work the iso 4.2.1 system that will let you watch movies on the phone. Also I tried to down load something else the other day and got message that Safari wont let you open this is ther any to see if i have the latest safari on my phone?

  • I tried updating to iso 8.0.2 and now my ipad is stuck in recovery mode and will not do anything. it will not reset.

    I tried updating to iso 8.0.2 and now my iPad is stuck in recovery mode and will not do anything. it will not reset.

    RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.
    3. Repeat the process if necessary.

  • *** ACTUAL FIX! *** How to solve the Windows 8 "Sorry, something happened and we couldn't finish creating the ISO. Restart setup and try again" problem

    Author's note: because I'm not yet allowed to post links in the forums, please note that all links have
    dot for the actual . in links, and any "http://" is spaced out so things don't appear as links.  Common sense, folks.
    I found the answer here: http:// wwwdoteightforumsdotcom/tutorials/13200-windows-8-upgrade-iso-redownload.html,
    but here's the brief summary:
    -I'm guessing that at some point, you probably downloaded the Windows 8 preview, yes?  For whatever reason, when you go to do it "for real," the Windows 8 setup doesn't overwrite the old file, called the "WebSetup"
    folder.  If that folder is still there, you'll get the "Sorry, something happened and we couldn't finish creating the ISO.  Restart setup and try again" message.
    The location of the folder is at: C:\%UserProfile%\AppData\Local\Microsoft\WebSetup
    where %UserProfile% is the user account you downloaded it under (probably your default account) - this is the folder you need to delete.
    Once that folder is deleted, run the Windows 8 setup file (found here: http:// windowsdotmicrosoftdotcom/en-US/windows-8/upgrade-product-key-only if
    you haven't, like me, already downloaded it 8 different times thinking it was a corrupted file), and it should prompt you at that point for your product key - which is something it wasn't doing for me.  After that, you can choose to make it an ISO, run
    it normally, run it from USB, etc.
    It'd be helpful if Microsoft knew about this... hope it helps...
    (h/t to EightForums, where I originally found and condensed this guide.)

    Author's note: because I'm not yet allowed to post links in the forums, please note that all links have
    dot for the actual . in links, and any "http://" is spaced out so things don't appear as links.  Common sense, folks.
    I found the answer here: http:// wwwdoteightforumsdotcom/tutorials/13200-windows-8-upgrade-iso-redownload.html,
    but here's the brief summary:
    -I'm guessing that at some point, you probably downloaded the Windows 8 preview, yes?  For whatever reason, when you go to do it "for real," the Windows 8 setup doesn't overwrite the old file, called the "WebSetup"
    folder.  If that folder is still there, you'll get the "Sorry, something happened and we couldn't finish creating the ISO.  Restart setup and try again" message.
    The location of the folder is at: C:\%UserProfile%\AppData\Local\Microsoft\WebSetup
    where %UserProfile% is the user account you downloaded it under (probably your default account) - this is the folder you need to delete.
    Once that folder is deleted, run the Windows 8 setup file (found here: http:// windowsdotmicrosoftdotcom/en-US/windows-8/upgrade-product-key-only if
    you haven't, like me, already downloaded it 8 different times thinking it was a corrupted file), and it should prompt you at that point for your product key - which is something it wasn't doing for me.  After that, you can choose to make it an ISO, run
    it normally, run it from USB, etc.
    It'd be helpful if Microsoft knew about this... hope it helps...
    (h/t to EightForums, where I originally found and condensed this guide.)
    Worked like a charm. Thank you!

  • Can you use and iso version of windows 7 64 bit to install windows through bootcamp?

         I saw windows 7 64 bit online cheap and it was and iso. If I put it on a disc, could I use it to install windows through bootcamp?

    You can use the iso direct from Bootcamp assistant and put it on a USB if your Mac has the ability to boot from a USB flash drive.
    If your Mac has a built in cd drive you will need to burn the iso to disc (as an image) and use that to boot from.

  • A table mapping between ISO country code and ISO currency code

    Hi experts,
    I want to know whether there is a table mapping between ISO country code and ISO currency code.I have searched T005(Countries) and TCURC(Currency Codes).why the filed of WAERS(Country currency) hasn't maintained in talbe T005?Whether ISO country code and ISO currency code hasn't direct relation?
    Regards,
    Kelvin

    Kelvin,
    If you know the table which is having ISO Country Code or ISO Currency code,then go to that table and clik on GRAPHIC(ctrlShiftf11) which will give the foreign key relationships.I guess checking all those table displayed in the graphic will give you some lead.
    K.Kiran.

  • To_date ISO Year and ISO Week

    Hello,
    I have a Character-String '0949' which is the Iso Year and Iso Week.
    To get this string I use this code:
    to_char (trunc (sysdate, 'IW'), 'IYIW')Is it possible to convert this String back to a date?
    I tried it with this code:
    to_date ('0949', 'IYIW')but only get an ORA-01820 error.

    WITH data AS (SELECT 0749 iwiy FROM dual)
        ,separated AS (SELECT to_date(substr(to_char(iwiy,'fm0000'),-2),'YY') AS yy
                             ,to_number(substr(to_char(iwiy,'fm0000'),1,2)) iw FROM data)
    SELECT trunc(yy,'IY') + (iw-1) * 7
    FROM separated
    /hope this helps....
    Roger

  • Is the multi shoots feature for the new iso 7 camera supports iphone 5 or just the 5S

    Is the multi shoots feature for the new iso 7 camera supports iphone 5 or just the 5S

    The 10 fps burst mode will only be available on the iPhone 5s.  I believe all of the other features for sharpening photos from multiple shots are iPhone 5s only as well.

  • Code country and ISO Code

    Hi guys,
    I'm defining a new country into the step 'Define countries in R/3 system' : this country is 'Serbia-Montenegro' but when I click on 'New entries' and I'm seeking for the code country I don't find it..and the same thing it happens for the ISO code because I don't find the step into customizing where I can enter the ISO code which I after should select (CS) while I enter the severals fields into 'Define countries in R/3 system' in customizing...How can I do?Thanks in advance bye
    Maximilian

    Hi,
    Codes used in Foreign Trade Statistics (Note 851943) and ISO codes (Note 693152 / 1932513) are quite often identical but not always. This is the case for Serbia and Montenegro.
    o  Country XM
        Alternative key: 097
        Name: Montenegro
        ISO code: XM
    o  Country XS
        Alternative key: 098
        Name: Serbia
        ISO code: XS
    Please assign points if it useful.
    Regards
    Ravinagh Boni

Maybe you are looking for