Bug in Application Export? Globalization messages with foreign characters

I've encountered a problem with Shared Components, Text Messages. I input some strings using Norwegian characters (øæå).
When I export the application, the characters come out with the wrong encoding in the SQL script (and the messages display wrong when the application is imported and run).
Here's an example:
prompt ......Message test_nor_chars
declare
h varchar2(32767) := null;
begin
h:=h||'Test av æøå ÆØÅ hei hei';
wwv_flow_api.create_message (
p_id=>1700323001958037277 + wwv_flow_api.g_id_offset,
p_flow_id=>wwv_flow.g_flow_id,
p_name=>'TEST.NOR.CHARS',
p_message_language=>'no',
p_message_text=>h);
null;
end;
The string
'Test av æøå ÆØÅ hei hei'
should be (was entered as, and displays in the Apex builder as)
'Test av æøå ÆØÅ hei hei'
I thought this was a problem with my local database, but I was able to reproduce this on apex.oracle.com as well.
Is this a bug, or just me doing something wrong?
- M

>
Why is this? I really have no idea. I've seen a lot of globalization issues, but this one just seems like an underlying database bug, and certain manipulation of an in-memory CLOB. I'll take a look at it further, but hopefully this workaround (by specifying a dummy application attribute with Norwegian characters) can at least get you going.Hi Joel,
thanks for looking into this. I did as you suggested and put some Norwegian characters into the Application Comments section. I then exported the application and the characters did not get corrupted in the export file.
However, when I import the application from the file (using SQL Developer's "Import Application..." menu item) into another database, the strings end up with corrupted characters in the database. This happens both for the Application Comment (which I can see in flows_030100.wwv_flow_banner) and the messages (flows_030100.wwv_flow_message$) which have Norwegian characters. This is strange, as it looks OK in the export script, but ends up wrong in the database when the script is run...
I tried the same at apex.oracle.com (exported app id = 52885 and imported it as app id = 63067), and it seems to be okay there. There is an option when you import an application through the web interface to select character set (which defaults to UTF-8, I used this). This choice is not available when importing through SQL Developer. Could this be relevant?
(The reason I use SQL Developer to import the app is because the server has a runtime-only installation of Apex.)
Would appreciate if you could look further into this. Thanks,
- Morten

Similar Messages

  • ITunes crashes on attempt to play media with foreign characters

    Recently, over the last few versions I have been unable to play any of my media that includes foreign characters, be it Asian characters or accented Roman characters. The fact of the matter is that upon attempting to play a song / audiobook / movie with a foreign character iTunes crashes.
    I am using iTunes 10.6.1.7 on Windows 7 64-bit in English (UK) with non-unicode set to Japanese.
    Windows crash report:
    Problem signature:
      Problem Event Name:          BEX
      Application Name:          iTunes.exe
      Application Version:          10.6.1.7
      Application Timestamp:          4f71aced
      Fault Module Name:          amip.dll
      Fault Module Version:          2.6.7.0
      Fault Module Timestamp:          4b63548c
      Exception Offset:          000b5954
      Exception Code:          c000000d
      Exception Data:          00000000
      OS Version:          6.1.7601.2.1.0.256.48
      Locale ID:          2057
      Additional Information 1:          3191
      Additional Information 2:          319160cfbcc1295d9ca9b4d448d8f7e3
      Additional Information 3:          62c3
      Additional Information 4:          62c3b5fb8ab287fc898b342b661d3806
    The media with foreign characters syncs with my iPhone okay, and will play without issue on it; just iTunes is unable to play said media on my computer, which is highly frustrating.
    I would be appreciative if someone has found and would share any work-around to this problem. Thanks.

    I still have no thorough concept on how I have solved this but I suppose if anyone else has encountered this issue I can share how I worked around it:
    I changed my windows system non-unicode locale back to its default (English UK).
    I then installed Microsoft AppLocale to handle the programs that would be affected.
    For experimental reasons I then set my iTunes executable to have Japanese locale through the AppLocale program.
    It now operates fine and will play files with foreign characters.
    Try it if you experience the problem's I've been having.

  • ?BUG? App Export / Import error with javascript

    Greetings -
    Anyone have an idea on how to get around this or if I'm doing something wrong?
    I have a page button to collapse a tree, with a URL Target of:
    javascript:apex.widget.tree.collapse_all($v(P2130_TREE_ID));
    Page and button work fine, have never had a problem.  Until I went to do an application import and found that the SQL file for the import was corrupted due to the above line.  SQL file has:
         p_button_redirect_url=>'javascript:apex.widget.tree.collapse_all($v(P'||to_char(2130+www_flow_api.g_id_offset)||''_TREE_ID));',
    It appears to have an extra (2x) single quote right before _TREE_ID.  I have this logic in several places in my application and every place caused the same error.
    Application copy also fails with same error.
    Thanks,
    Scott

    Tom -
    I assume this is the prior post you where talking about : https://forums.oracle.com/thread/2401714
    However, this doesn't cover my problem.  I have tried all the follow, and they all break export / import and copy functionality due to mismatched quotes:
    collapse_all($v(P2130_TREE_ID));
    collapse_all($v('P2130_TREE_ID'));
    collapse_all($v("P2130_TREE_ID"));
    collapse_all('&P2130_TREE_ID.');
    collapse_all("&P2130_TREE_ID.");
    These all allow the collapse button to work.
    NOW, if I change my ID tag to be something like 'P_SCOTT_TREE' then everything works just fine (import/export/copy).  It's having a number in the tag that is cause the problems because the export is casting it to_char and somehow throwing in an extra quote.
    Thanks,
    Scott

  • CuePointNames with foreign characters

    Updated an application to Director 11.5 and have some problems with danish characters in the cuepointNames.
    The application have worked the last 5 years, but now it behaves really strange.
    I've tried to set the codePage when Updating movie to several different  tables, but still the same problem.
    I can't even change the name myself, 'cause there's a difference between whats in memory and what it shows in the variable.
    Does anyone have any idea what's wrong ?
    Thanks in advance
    cheers
    John Kanding

    But what's the system/logic in a word like "køber" ends up in "kk" ?
    A little further analysis shows just how wrong Director/Lingo gets it. I amended your movie script to
    on startMovie
      mem = member(1,2)
      mem.url = "@/udtale_fokus.swa"
      mem.preLoadBuffer()
      mem.soundChannel = 2
      play (mem)
      cp_names = duplicate(mem.cuePointNames)
      len = cp_names[1].length
      put cp_names, len
      repeat with c = 1 to len
        tChar = cp_names[1].char[c]
        put tChar, charToNum(tChar)
      end repeat
      jsCharCodes(cp_names[1])
    end
    and added a JavaScript syntax function to a new movie script:
    function jsCharCodes(str) {
       var len = str.length;
       trace("length: " + len + " " + str);
       for(var i = 0; i < len; i++){
         trace(i + " " + str.charAt(i) + " " + str.charCodeAt(i));
    and I get the following output in my message window:
    -- ["kber"] 2
    -- "k" 107
    -- "ber" -1
    // length: 4 kber
    // 0 k 107
    // 1 b 98
    // 2 e 101
    // 3 r 114
    Note that the 3rd line above ( -- "ber" -1) displays in my message window as ( -- """ -1)

  • Image with foreign characters in name won't display

    I have an image on my drive whose name has foreign characters ("c�pia de frente.jpg"). To display the image my JSP reads the image name from the database and generates the following html:
    <img src="../pictures/c�pia de frente.jpg">The page then displays a broken image icon for this image. Images in the same list which do not have foreign chars get displayed accurately. When I choose "show image.." in my browser I see that the image name has been rewritten into the following: c%C3%B3pia%20de%20frente.jpg. The rewriting that will display the image is instead c%F3pia%20de%20frente.jpg. I found the correct rewriting on another of my JSP where the image with the foreign chars actually gets displayed correctly although the code to generate the html is the same on both pages and looks something like this (simplified):
    <logic:iterate id="listelement" name="list" property="rows" scope="request" type="org.apache.commons.beanutils.DynaBean">
    <%         
    out.write("<img src=\"../pictures/"+listelement.get("name").toString()+"\">");
                             %>  <br>                     
                            </logic:iterate> Every image that doesn't have foreign chars in its name gets displayed accurately but images with foreign chars in their names won't display. What am I doing wrong?
    Thanks
    Niklas

    Thanks, but it doesn't seem necessary to replace foreign characters. It works without replacing in one place but not in another which is confusing. I think it is something with the enconding but can't see what the difference is between the working and non-working code. In both pages I have put <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">I'd greatly appreciate any more suggestions to solve this problem.

  • Character Encoding for IDOC to JMS scenario with foreign characters

    Dear Experts,
    The scenario is desribed as follows:
    Issue Description:
    There is an IDOC which is created after extracting data from different countries (but only one country at a time). So, for instance first time the data is picked in Greek and Latin and corresponding IDOC is created and sent to PI, the next time plain English and sent to PI and next Chinese and so on. As of now every time this IDOC reaches PI ,it comes with UTF-8 character encoding as seen in the IDOC XML.
    I am converting this IDOC XML into single string flat file (currently taking the default encoding UTF-8) and sending it to receiver JMS Queue (MQ Series). Now when this data is picked up from the end recepient from the corresponding queue in MQ Series, they see ? wherever there is a Greek/latin characters (may be because that should be having a different encoding like ISO-8859_7). This is causing issues at their end.
    My Understanding
    SAP system should trigger the IDOC with the right code page i.e if the IDOC is sent with Greek/Latin code page should be ISO-8859_7, if this same IDOC is sent with Chinese characters the corresponding code page else UTF-8 or default code page.
    Once this is sent correctly from SAP, Java Mapping should have to use the correct code page when righting the bytes to outputstream and then we would also need to set the right code page as JMS Header before putting the message in the JMS queue so that receiver can interpret it.
    Queries:
    1. Is my approach for the scenario correct, if not please guide me to the right approach.
    2. Does SAP support different code page being picked for the same IDOC based on different data set. If so how is it achieved.
    3. What is the JMS Header property to set the right code page. I think there should be some JMS Header defined by MQ Series for Character Encoding which I should be setting correctly) I find that there is a property to set the CCSID in JMS Receiver Adapter but that only refers to Non-ASCII names and doesn't refer to the payload content.
    I would appreciate if anybody can give me pointers on how to resolve this issue.
    Thanks,
    Pratik

    Hi Pratik,
         http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
    This link might help.
    regards
    Anupam

  • Sorting of contacts with foreign characters in the name

    Hello,
    I have a large address book, some with Japanese characters in their name.
    I'm on English Language setting for the OS on my iphone and ipad.
    All the contacts with Japanese characters in their name seem to get pushed to the # section of the alphabet rather than at the equivalent roman alphabet letter.
    Also note that adding the Japanese name in the secondary fields of "phonetic first" and "phonetic second" of an existing Roman English based contact sends this to the # section.
    This is poor sorting of contacts. 
    Very poor....

    After posting this I found a solution.  I hadn't tried it this way round.
    https://discussions.apple.com/message/7589528#7589528
    Go into one of your Japanese contacts and click edit.
    Go right to the bottom of the edit page and add field, add phonetic first name, then repeat the step to add phonetic last name.
    Now edit the name of your contact, keep their name in Japanese and enter the phonetic spelling in English.
    Smashin....  :-)

  • Application Hudba (Music) problem with Czech characters

    Hello,
    I have problem with Czech characters for Music files copied into application "Hudba" all Czech letters (š,č,ť...etc.) are translated into Japonies letters (which I could not read at all). Could someone help please.
    Thanks

     You might to consider contacting the app developers http://talk.sonymobile.com/t5/Music/Walkman-Beta-Test/m-p/953659#U953659

  • Sony GO: I can't sent messages with 160 characters

    Hi everyone!!!
    This weekend I updated my Sony Go to Ice Cream Sandwich, since that I have problems with the sms.
    I'm from Venezuela and we have many words with "tilde", when I write one of them the sms character lenght gets short and I that make me send more sms than the required. before the upgrade I could send sms with 160 characters but not now.
    Sony GO ST27i
    Android 4.0.4
    Compilation number
    6.1.1.B.1.10
    I read about an update to jelly bean however it's not available for the phone at the PC Companion, when or how can I enjoy it?
    Thanks to everyone!!!
    I hope your answers

    I guess in many places SMS are converted to MMS after reaching a certian alphabetical limits. check your provider with MMS details you can send the text as MMS as well . Also there are softwares like Go SMS pro / handcent floating around . Also if you are technically good at andriod refer to http://forum.xda-developers.com/showthread.php?t=1429353
    Regards

  • Unable to process EDI Input Message with NewLine Characters

    Hi All,
    I am using the Seeburger adapter and modules to process the Input EDI message. The input message comes with a new line character after every 80 characters. Hence the Seeburger modules throw an error while reading the file. I tried using the /Seeburger/ReplaceString module. In module config, it has 2 parameters - searchString and replaceString. It works for any special characters like "#" or '!' , but does not replace the NewLine character. I used '\n' ,   '\r' ,  '0x0A' ,  '0x0D', '0D0A' and none of them worked. Can anyone please suggest what character needs to be used in the Module Config?
    Thanks,
    Geetha

    I have done it in other way by relacing "~" with new line within UDF. We can try to replace the corresponding values 13 and 10.
    Basically, the code to add next line characters is:
    inputString.append( ( char ) 13 );
    inputString.append( ( char ) 10 );

  • Problems with foreign characters

    I've had the problem of iTunes not displaying foreign (Japanese in my case) characters. I do have proper language packs installed and I've seen these characters work on other people's computers. My iPod displays them perfectly too. Is there a setting within iTunes I need to change?
    I've also already tried a reinstall of Windows and a reinstall of iTunes.

    Have a look at Tome Gewecke's User Tip and let us know if it provides any helpful information for you.

  • When exporting UTF-8 encoded HTML page to PDF, Foreign characters won't display correctly.

    I'm not sure if this is a PDF issue or a PHP issue, I have tried asking this in several forums with no working result, and I hope this is the right place to post this question... if not please let me know of another forum.
    here's my PHP code.
    $test_label = 'の契約';
    $result = html_entity_decode($test_label, ENT_QUOTES, 'UTF-8')
    PDF_show_xy($pdf, $result.": ".$order_date , SECTION_START_X+TEXT_LEFT_PADDING, 750+((SECTION_TITLE_BOX_HEIGHT-5)/2));
    the UTF-8 encryption is correct, because the web browser displays all the characters correctly.
    Problem:
    Problem occurs when I try to export the HTML into PDF.
    All I'm getting in my pdf export is a bunch of gibberish. Is there a PDF add-on/plug-in that I'm suppose to install? or is my encoding function called incorrectly wrong.

    oh, sorry if I was unclear.
    I use PHP's PDF functions to create PDF files that looks like my html page.
    here are the functions
    http://us2.php.net/manual/en/ref.pdf.php
    anyway my question is, if there is a setting or a addon/plug-in/third party program that I have to download for Adobe Reader to display foreign language?
    and if anyone knows PHP, am I using the correct decoding function?
    If I'm on the wrong forum, can anyone direct me to the correct one?
    I can't seem to find any resources on exporting HTML pages with foreign characters to PDF using php.

  • Mail: Received mails - addresses with foreign chars

    Hi
    It's hard to describe my problem in the topic
    I am using Apple Mail, currently Version 2.1.1 (752.3). Now I have a weird issue with mail addresses. When I receive email (mostly from our company's outlook users), some of the mail adresses in the TO or CC fields are split and unusable. An example: I receive a mail with CC to a guy called "René Füglister". His mail address would be [email protected] or something. The sender sent the mail to "René Füglister <[email protected]>". Now, my CC line looks like this:
    Füglister, René Füglister <[email protected]>
    When I try to reply to all now, it tries to reply to "Füglister" and "René Füglister <[email protected]>". The fist one is obviously wrong and gets rejected by the mail server.
    I have experienced this ONLY with foreign characters. What can I do?
    Thanks for any hint!
    Cheers
    Rico
    PS: It didn't help to change my app language from English to German :-/
    MacBook Pro   Mac OS X (10.4)  

    Chaps, any idea on this?

  • File XML Content Conversion: Problem with special characters

    Hello,
    in a file sender cc content conversion is used to transform a flat structure to XML. What we experiencecd is that the message mapping failed due to a character that was not allowed in XML:
    I was assuming that the file content conversion just creates XML messages with allowed characters. Is there any way to configure content conversion to remove control characters which are not allowed in XML? Unfortunately the sender system cannot be modified.
    Thank you.

    Hi Florian,
      Please use this UDF to remove special characters which prevent XML messages to form properly.
    public static String removeSpecialChar(String s)
              try
                   s=s.replaceAll("&","& amp ;");
                   s=s.replaceAll("<"  , "  & lt ;");
                   s=s.replaceAll(">", "& gt ;");
                   s=s.replaceAll("'", "& apos ;");
                   s=s.replaceAll("\"", "& quot ;");
              catch(Exception e)
                   e.printStackTrace();
              return s;
    Please remove spaces between characters within double quotes. I have added them because otherwise you can't see this code properly. Please check this below link , please replace the characters with proper values as the display is causing a problem here   
    http://support.microsoft.com/kb/316063
    regards
    Anupam
    Edited by: anupamsap on Jul 7, 2011 4:22 PM
    Edited by: anupamsap on Jul 7, 2011 4:23 PM

  • I bought the Keynote app for my MacBook, but when I open the application and try to install it, I get an error message saying that the application will not work with my MacBook. What gives? And, can I please request a refund? ($19.99 = a week's groceries)

    I bought the Keynote app for my MacBook, but when I open the application and try to install it, I get an error message saying that the application will not work with my MacBook. What gives? And, can I please request a refund? ($19.99 = a week's groceries).
    Thank you for your help! - I did try looking for all available specs about Keynote on the Apple iTunes website, and found nothing that could help me. HELP!

    1
    Close all iWork applications
    2
    Uninstall Keynote; this must be done with an application remover tool to delete the installation properly. Appcleaner is known to work correctly for this purpose, it is free and can be downloaded from here: Appcleaner Download
    3
    empty the trash
    4
    shutdown the Mac and restart. After the start up chime, hold down the shift key until the apple logo appears
    let the Mac complete the start up procedure completely, it will take longer than usual as the hard drive is being repaired
    5
    Reinstall Keynote by logging into the Mac App Store using download / install

Maybe you are looking for

  • Mid-2010 MacBook Pro '13 Dead.

    So I've had an issue for the past week with my Mid 2010 MacBook Pro 13-inch. For a little while, it has been losing the time, and shut down randomly a few times, but last sunday, it shut down, and wouldn't boot back up. When I press the power button,

  • Field labels in alv in webdynpro

    hi all, I am using standard table as dictionary structure for my context node . So when i m seeing the ouput in ALV the header is coming up with field names . But  I want to display field lables so that it can be understood by users . Could you pleas

  • Safari won't open after update!

    Routine update done on 06/19 and now even after several restarts Safari 5 won't open at all. Please, help. Process: Safari [1000] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0 (5533.16) Build Info: Web

  • Modifier keys not working after 10.6.7 update

    After the most recent 10.6.7 update, my modifier keys no longer work. I switched my Command and Option keys over a year ago, but now even when I'm in System Preferences>Keyboard>Modifier Keys and I switch them back and forth from Restore Defaults to

  • Upgrade from Solaris 8 SPARC with Sun cluster 3.1u3 to Solaris 10 SPARC

    Dear All, We are planning an upgrade of the OS from Solaris 8 SPARC to Solaris 10 SPARC on a two-node active-standby clustered system. The current major software we have on the Solaris 8 system are: 1: Sun Cluster 3.1u3 2: Oracle 9i 9.2.0.8 3: Verita