Czech characters encoding problem in RTFTemplate with Velocity engine

Hi,
I am trying to use your RTFTemplate project but I have trouble displaying Czech characters in the generated RTF document. Instead of characters like �čř� I get only questionmarks ????. I thought that this could be related to setting a wrong encoding in the velocity.properties file, so I set it to windows-1250 (support for Czech characters) but it didn�t help. Do you have any idea, what could be the problem? If this is not the right place to ask such question, please let me know about a better one.
Thank you for your time,
Ivo Jansky

Hi Jason,
Indeed I had contacted the provider and informed them about the encoding problem and the fact that passing the parameter http_content_charset had no effect on the sent back encoding.
They have taken into account my request and have changed the encoding used during the request to the HOOK_URL.
Thanks to all of your for your help.
Regards,
Jerome.

Similar Messages

  • Turkish Characters Encoding Problem

    Hi,
    My java code is not going into if statement because of the Turkish characters which are fetched from database. When i printed the result value, it displays Turkish characters as question marks "?". In debug mode i can see the result variable displays correct characters.
                BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
                OperationBinding operationBinding = bindings.getOperationBinding("getLovValue");
                operationBinding.getParamsMap().put("valueId", valueChangeEvent.getNewValue());
                String result = (String)operationBinding.execute();
                System.out.println("Result:"+result.toString());
                System.out.println("KİŞİ".equals(result));
                if(result != null) {
                    if ("KİŞİ".equals(result)) {
                        setAdiRequired(true);
                        setSoyadiRequired(true);
                        setSirketAdiRequired(false);
                    else if ("ŞİRKET".equals(result)) {
                        setAdiRequired(false);
                        setSoyadiRequired(false);
                        setSirketAdiRequired(true);
                    else {
                        setAdiRequired(false);
                        setSoyadiRequired(false);
                        setSirketAdiRequired(false);
                }Console:
    Result:K???
    false
    I really need help about this issue.
    Jdeveloper version: 11.1.2.2
    My JDeveloper Environment Encoding Setting is "UTF-8"
    Regards,
    Anil

    Hi,
    I have already told JDev version in my first post. Nevermind, I just solved problem by setting JDeveloper encoding settings to ISO-8859-9. I don't know why it is not working with UTF-8.
    Edited by: AnilA on 18.Eki.2012 11:10

  • Japanese Characters Encoding Problem

    Hi All,
    I have been looking at the problems posted in this forum and quite a few describe the issue I am facing currently but none has been able to provide a solution.
    The problem I am facing is as follows:
    Step 1: I am retrieving Japanese data from Oracle DB 9i (Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit) using standard JDBC API calls. [NLS_CHARACTERSET : AL32UTF8,  NLS_NCHAR_CHARACTERSET : AL16UTF16]
    byte[] title = resultSet.getBytes("COLUMN_NAME");
    Step 2: I pass the retrieved bytes to a method that returns SJIS encoded String.
    private String getStringSJIS(byte[] bytesToBeEncoded) {
              StringBuffer sb = new StringBuffer();
              try {
                   if (title != null) {
                        ByteArrayInputStream bais = new ByteArrayInputStream(bytesToBeEncoded);
                        InputStreamReader isr = new InputStreamReader(bais, "SJIS");
                        for (int c = isr.read(); c != (-1); c = isr.read()) {
                             sb.append((char) c);
                   return sb.toString();
              } catch (Exception ex) {;}
    3) I am using an HTML Parser JAR to print the decimal value of the Encoded String.
    String after = getStringSJIS(title);
    System.out.println(Translate.encode(after));
    I get an output of String 1: ツ禿コツ本ツ古ェツサツイツト
    which contains 14 decimal character codes.
    The same data is being read by another application that uses JDBC again and connects to the same DB and returns the decimal values as: String 2: 日本語サイト
    The display of these two Strings differ significantly when viewed in the browser.
    It seems String 1 contains single byte half-width characters and String 2 does not. Is anyone familiar as to why the bytes are getting modified while being retrieved from the Database for the same column value?

    The encoding for the bytes being returned from the database is Cp1252 but this encoding, I understand, depends on the underlying platform I am using.
    If indeed the data from the DB is in UTF-8 or 16, shouldn't it be displayed correctly in the browser? No encoding/decoding should be required on the data then. In the browser it gets displayed as “ú–{ŒêƒTƒCƒg. (The encoding of the JSP page is set to UTF-8.)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 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

  • Send purchase order via email (external send) with special Czech characters

    Hi all,
    I am sending a purchase order created with ME21N via email to the vendor using "external send".
    The mail is delivered without any problems, PO is attached to the mail as PDF file.
    Problem is that special Czech characters as "ž" or "u0161" are not displayed, a "#" (hash) appears instead.
    This problem occurs when language for PO output = EN.
    Tests with language = CS worked out fine, but the whole form incl. all texts are in Czech as well; so no valid solution since it needs to be in English.
    We checked SAPCONNECT configuration and raised note 665947; this is working properly.
    When displaying the PO (ME23N) special characters are shown correctly as well.
    Could you please let me know how to proceed with that issue?!
    Thanks.
    Florian

    Hi!
    No, it's not a Unicode system.
    It is maintained as:
    Tar.          Lang.        Lang.        Output Format                           Dev. type
    Format
    PDF     EN     English                                                     PDF1
    Using this option, character "ž" was not displayed correctly, but "Ú" was ok.
    All other Czech special characters are not tested so far.
    Thanks,
    Florian
    Edited by: S. SCE - Stock Mngmnt on Aug 14, 2008 10:19 AM

  • Encoding problem when forwarding mails with attachments using exchange account

    Hi,
    I'm facing a special misbehaviour of mail. Scenario: With Apple Mail 7.2 I would like to forward an exchange mail with attachments. The mail is wirtten in german and uses german special characters like äüöÄÖÜ. During editing the mail everything is ok which means all characters are shown in thte correct way. When I send the mail, something magic must happen in the background.
    When I look in the sent mail folder and open the mail, all special characters are show as "?". Must be an encoding problem, I gues but I don't know how to fix it.
    When I send exactly the same mail with another Apple mail account (non exchange), there is no problem. So I assume it has something to do with handling exchange accounts under Apple mail.
    Any idea to solve this issue? Thanks in advance.
    Br,
    Jakob

    This is a know issue with Yahoo! Email on the iPhone. When sending email, sometimes it will say it has been sent, while it really has not (and it will not show up in the sent folder).
    It has been discussed quite a bit in the forums, so a search will turn up a lot of discussion, but no solid solution. Some say Yahoo is working on a fix, other that Apple is.
    The most common solution (which is usually temporary), is to either reboot your phone, and/or delete and reinstall your Yahoo! Mail account on your phone.

  • Problem Encoding WMV to FLV with Media Encoder CS4 (but not with CS3)

    Hello,
    I have been attempting to encode some WMV files with Flash Media Encoder CS4 (I have Adobe Creative Suite CS4 installed) but it has failed, generating this error:
    - Source File: C:\Documents and Settings\usf\Desktop\incoming\ch01.wmv
    - Output File: C:\Documents and Settings\usf\Desktop\incoming\ch01_3.flv
    - Preset Used: Custom
    - Video: 624x343, Same as source [fps]
    - Audio: MPEG Layer III (MP3), 128 [kbps], Stereo
    - Bitrate: VBR, 400.00 [kbps]
    - Encoding Time: 00:06:36
    5/28/2010 11:26:16 AM : Encoding Failed
    Error compiling movie.
    Unknown error.
    On another computer where Adobe Media Encoder CS3 is installed (with Creative Suite CS3), I experience no such problem.  I do notice that when I add the WMV to Adobe Media Encoder CS3, it opens a window that prompts me to use "ffdshow", which will apparently work if it's configured to decode the file.  I click "OK" and start the queue in the encoder.  A few minutes later I get a successfully encoded FLV file.
    I have come to question whether Adobe Media Encoder CS4 should be re-installed, whether the entire Suite should re-installed, or if there is some patch or fix I can install somewhere.  Adobe Media Encoder CS4 is installed on my "production" computer which also has Adobe Premiere Pro (CS3) and Adobe Premiere Elements (7).
    Could use some advice here.
    Glen
    P.S.  the files will also not export to FLV using Adobe Premiere or Premiere elements...

    Again, the reason we are capturing with Windows Media Encoder is because we tried using Live Flash Encoder to capture directly into flash but our equipment wasn't fast enough and it was dropping frames all over the place.  We also don't have the space to capture into an uncompressed format because we don't have the available storage, and our events can be 8 hours long or more (each video is about 15 minutes, 20 or more videos)
    Ive listened to everything in my workflow and it sounds fine until the outputted FLV file from AME.
    WME is capturing at the following specs:
    160kbps 48KHz Windows Media Audio 9.2 codec (stereo) 1 pass CBR
    1800kbps 1 pass CBR video
    29.97 fps
    640x360 resolution
    buffer size: 5 seconds
    key frame interval: 8 seconds
    I have verified this with a codec info utility I ran on the wmv files.
    AME is encoding with the following specs:
    FLV Multiplexing
    On2 VP6 codec
    620x360 resolution
    800kbps 2 pass VBR
    100% undershoot at best quality
    160kbps stereo MP3 audio
    I verified the above with the same codec info utility (gspot 2.70a) and it is all acurate, it also told me that the audio is at 44.1KHz rather than 48 (there was no place to specify this, is this a limitatino of the VP6 codec?)
    Yes, these are our source assets.  They're being captured either through an XL2 via firewire, or from an analog program feed converted to firewire via a Canopus converter box.
    If anyone has any suggestions on how to get rid of this, or a different encoder (either to capture with rather low cpu resources, or to encode into flash) let me know.  I can provide a sample of the clipping if you need
    Thanks,
    Peter

  • Issue with Czech characters in PDFs generated from RSTXPDFT4

    Hi,
    We have a requirement to generate PDF documents from the spool of the Billing document outputs in our project.
    For this we are using the standard program RSTXPDFT4, which converts the SAP script OTF to PDF format.
    But the Czech characters in the billing document output are not getting displayed in the PDF generated out of it.
    We are already using a device type I2HP4 when creating the print request , which supports Latin-2 Character set ( ISO 8859-2 ), to which the special characters
    of East European languages belong.
    Even then , the czech characters are not getting displayed in the PDF generated.
    We have raised  a message to SAP for this, and SAP informed us that currently the only solution to this is to use Latin 2 soft fonts,
    and to upload these soft fonts into R/3 System using report RSTXPDF2 as they contain the Eastern European special characters plus all the other characters in ISO 8859-2.
    But, since character font definitions (font files) are protected by copyrights, SAP informed us that they cannot provide these font files and we have to acquire
    these latin-2 font files by searching in search engines in the internet.
    If anyone has the information where we can get these "Adobe type 1 Latin-2" font files with '.PFB' extension,  for the proper display of Czech characters, please let me know.

    Hi,
    Did you or anyone manage to find a reasonable solution for this issue?
    I'm currently facing something similar but with Polish characters instead.
    I tried using RSTXPDF2 to upload .PFB and .TTF files but to no avail.

  • Encoding Problems with WRT300N V2

    Hello guys,
    i have following problem:
    I have a WRT300n Router and it seems to have problems with WPA2 encoding. I have 2 different deviceses (a SMC Ethernet Bridge and a PS3) trying to connect to my Linksys wireless router. No chance in WPA2 mode but when I try in WEP-Mode, both devicec can connect to it.
    Are there known encoding problems?
    Any idea what i can do?

    It is able to use. But my router always drops the connection. WEP is no problem, but ... what about low security and Wirless N is not enabled ??

  • Problem when streaming with the CLI flash media encoder 2.5

    I have a problem when streaming with Flash Media Encoder 2.5. When I run the GUI, everything works, but when I use the commandline with the same profile I have created using the GUI, it says it can't connect to the server.
    I have to use this version of the encoder, because the other is not working with the server, and I have to create a program to remotely control the flash media encoder, so I have to use the CLI. What can i do to go over this problem?
    Any help would be really appreciated. Thankyou.

    First of all, thankyou.
    There is no authentication needed. I can't use Flash Live Media Encoder 3 because it is not supported by the people which manages the server i have to connect to.
    In fact, I don't know why they dont support it, but that is the way it is.
    Through the GUI, i connect directly and without problems, without user/pass.
    Thankyou again.

  • Quicktime and media encoder problem

    I am trying to make a quicktime movie with Premiere CS4. The project is 870 still frames rendered from 3DS MAX. Everything works fine when I export and it sends the movie to Media Encoder's Queue. When I hit "Start Queue". the project starts to encode then quickly finishes with a green check mark next to the project, however no video is made. Please note I have tried other file formats such as AVI and it works fine. This seems to be am issue with QT. I have tried just about every QT codec as well and nothing seems to work. The codec I normally use is animation.
    I have successfully done this many times in the past with no problems. Unfortunately, I recently had to replace my main harddrive which died that stored Windows XP, therefore I had to re-install Adobe Master Collection CS4. After the reinstall media encoder won't make Quicktime movies anymore.  And yes I have QT installed. I had ver 7.6.2. I read somewhere that 7.5.5 works better with premiere CS4 so I found that, uninstalled 7.6.2,  and installed 7.5.5, however, unfornuately it did not fix the problem. Anyone know how to fix this or having the same issues? Please see my specs below. Please let me know if you need more info. Thanks for help in advance.
    Intel Quad processor
    4 GIG Ram
    Nvidia 8800 GTX video card
    OS: Windows XP SP3
    Adobe Premiere CS4
    Media Encoder 4.1.0
    Quicktime 7.5.5 (also tried 7.6.2 - the most recent)

    There was someone having a similar problem on the www.weddingvideodoneright.com forums,and others were having various issues with ME not creating files and so I've copied this from that thread and hope it helps. Also, check out the Adobe link at the bottom-
    Re:  Another miserable issue with Premiere 'Pro' CS4 Any advice?
    « Reply #11 on: June 04, 2009, 12:46:49 PM  »
    Quote Modify Remove Split  Topic
    Digging further, this is the "official" solution  from adobe  -
    Quote
    Do one or both of the following solutions:
    Solution 1:  Create a shortcut to the Premiere Pro executable file, rename the shortcut to  Premiere, and move the shortcut to C:\Program Files\Common  Files\Adobe\dynamiclink.
    Close all Adobe applications.
    In Windows  Explorer, navigate to C:\Program Files\Adobe\Adobe Premiere Pro CS4. (If you  installed Premiere Pro CS4 in a location other than the default of C:\Program  Files\Adobe, then navigate to your custom installation location.) 
    Right-click on Adobe Premiere Pro.exe (which might appear without the .exe  extension) and choose Create Shortcut.
    Rename the newly created shortcut to  just Premiere.
    Important: The name of the shortcut must be exactly  Premiere with no other characters.
    Open a second Windows Explorer  window, and navigate to C:\Program Files\Common Files\Adobe\dynamiclink. 
    Move the Premiere shortcut that you created into the dynamiclink folder. 
    Solution 2: Remove and reinstall all Premiere Pro CS4 components or all  Adobe Creative Suite 4 components.
    Do one of the following:
    Windows  XP: Choose Start > Control Panel > Add or Remove Programs.
    Windows  Vista: Choose Start > Control Panel > Programs and Features.
    In the  list of installed programs, select Adobe Premiere Pro CS4, Adobe Creative Suite  4 Production Premium, or Adobe Creative Suite 4 Master Collection.
    Click  Change/Remove (Windows XP) or Uninstall (Windows Vista).
    Follow the  on-screen instructions to remove all components of Premiere Pro CS4 (including  Adobe Encore CS4 and Adobe OnLocation CS4) or to remove all components of your  edition of Adobe Creative Suite 4.
    Re-install your Adobe software.
    The url is: http://kb2.adobe.com/cps/407/kb407106.html

  • Encoding problems in email while on Windows Mail app

    Hello.
    I have a question concerning email and encoding problems in the Windows Mail App in Windows 8.1.  I have encountered a problem with an email I received, while reading, I see strange ASCII characters in one email.  I have never encountered it in
    my web browsers nor Gmail, just the Mail App.
    I was referred to come here when I had asked a similar question there:
    http://answers.microsoft.com/en-us/windows/forum/windows8_1-ecoms/strange-foreign-ascii-characters-appearing-in/911f8a44-c302-4fa1-bcaa-3297b32d9120
    I don't know which forum to go to so I picked here.
    Is there any way that it can be resolved.  I tried to troubleshoot, nothing worked; I even synched, to no avail.
    I look forward to a response.
    JB

    Hi JB,
    The responder on answers was a bit confused. The MSDN forums are for developers to discuss writing their own apps. We cannot help with problems using Windows or its built-in apps.
    If the folks on answers cannot help then you may need to open a support incident. See
    http://support.microsoft.com , or the folks on answers may be able to direct you to the specific page for the Windows Mail app.
    --Rob

  • Problem in dealing with special-character filename

    Hi,
    I am facing a weird problem while dealing with a file which has a special character in its name. That character is the big-hyphen, i.e. '–' (not the normal hyphen we can type from keyboard), you would have seen this character in MS Word.
    My java program is running on HP-UX OS, and its basically trying to copy this file to a Windows target system through socket. But while executing it, I am getting Broken Pipe Exception.
    I am applying UTF-8 encoding while running my program (by specifying the argument "-Dfile.encoding=UTF-8" in the java process), and I am also confirming that the file-encoding is being applied to UTF-8 properly by putting a debug in the beginning of the program. My understanding is UTF-8 supports all the characters exist in this world.
    Any suggestion / pointers would be really appreciated.
    Thanks,
    Rajiv

    Fine..... but is there any way to know which encoding has been applied on it ..
    Let's say if you create any file on unix-based system in any application, which encoding gets applied there by default ?
    This file is basically nothing but an html page created using 'Save As' from the browser.
    The person who has created the file is a non-technical .. and won't know much about this all stuff... encoding etc.

  • Encoding problem in call-back to hook URL (post parameters)

    Hello all,
    I'm encountering a character encoding problem while retrieving the content of the shopping basket from one of our provider.
    After the POST request is made by the provider to our system using the hook url, when debbuging I can see that some special characters are represented with the sign '#' (after the call the ITS_IMPORT_CONTEXT).
    In our case using the parameter http_content_charset with various values, including UTF-8, did not change the result.
    Inspecting the HTTP traffic has highlighted the following: the encoding received from the provider is related to UTF-8, but while we are expecting the hexadecimal values, we are receiving the "Unicode code points", which are not recognized by our SAP system. For more details look at the UTF-8 encoding table found here and compare the values under column "Unicode code point" with the one under column "UTF-8 (hex.)".
    As an example, for the character 'é', we are receiving the value "%E9" (the code point) instead of receiving the the hexa value : "%C3%A9".
    Do you have any idee if this can be corrected on our side or if the provider must addapt the way it's sending the POST parameters?
    Many thanks in advance for you help.
    Best regards,
    Jerome.

    Hi Jason,
    Indeed I had contacted the provider and informed them about the encoding problem and the fact that passing the parameter http_content_charset had no effect on the sent back encoding.
    They have taken into account my request and have changed the encoding used during the request to the HOOK_URL.
    Thanks to all of your for your help.
    Regards,
    Jerome.

  • Character encoding problem using XSLT and Tomcat on Linux

    Hi,
    I have an application running on a Tomcat 4.1.18 application server that applies XSLT transformations to DOM objects using standard calls to javax.xml.transform API. The JDK is J2SE 1.4.1_01.
    It is all OK while running on a development enviroment (which is Windows NT 4.0 work station), but when I put it in the production enviroment (which is a red hat linux 8.0), it comes up with some kind of encoding problem: the extended characters (in spanish) are not shown as they should.
    The XSL stylesheets are using the ISO-8859-1 encoding, but I have also tried with UTF-8.
    These stylesheets are dynamicly generated from a JSP:
    // opens a connection to a JSP that generates the XSL
    URLConnection urlConn = (new URL( xxxxxx )).openConnection();
    Reader readerJsp = new BufferedReader(new InputStreamReader( urlConn.getInputStream() ));
    // Gets the object that represents the XSL
    Templates translet = tFactory.newTemplates( new StreamSource( readerJsp ));
    Transformer transformer = translet.newTransformer();
    // applies transformations
    // the output is sent to the HttpServletResponse's outputStream object
    transformer.transform(myDOMObject, new StreamResult(response.getOutputStream()) );Any help would be appreciated.

    Probably you need to set your LANG OS especific environment variable to spanish.
    Try adding this line:
    export LANG=es_ES
    to your tomcat/bin/catalina.sh, and restart tomcat.
    It should look like this:
    # OS specific support.  $var _must_ be set to either true or false.
    cygwin=false
    case "`uname`" in
    CYGWIN*) cygwin=true;;
    esac
    export LANG=es_ES
    # resolve links - $0 may be a softlink
    PRG="$0"
    .(BTW, keep using ISO-8859-1 encoding for your XSL)
    HTH
    Un Saludo!

Maybe you are looking for

  • Drag and Drop Layout with items attached to Page 0 Region Bug

    Hi, I have a region on P0 (P0_REGION) and multiple page items (not on page 0) are associated to the region. When I go to "Drag and Drop" the page items I see all the Page Items for the given page and all the Page Items that are linked to a P0 Region.

  • Changing sliding panels from black to white

    Does anyone know whether the option to change the sliding panels theme from black to white is still possible in Photos 1.0? We use this theme on all the DVD's we create of customers making their own rings with us but it appears it's been removed as a

  • Password not set after PSS for user

    Hi, Edited by: Chetan on May 24, 2011 2:36 AM

  • How to maintain  a field in sm34

    hi  all, i'm unable  to populate the values in custom column, Actually  using  user exit i have added one field of name 'cost center' into the field catalog  but  i am not getting the values can anybody  tell me how to maintain field  in SM 34. Regar

  • IMovie and iDVD in a professional environment

    I am a professional designer predominantly for print and advertising. I have used iMovie and iDVD to create a few home movie DVDs here and there, which I really enjoy doing. But that is where my video production experience ends. I was thinking of off