Tomcat, JSP,  swedish characters problem

Hi all,
I have run into yet another Swedish character problem that I havn't been able to solve. I use Tomcat 5 locally, and Tomcat 4 on a remote server to show my JSPs. When I run the pages locally and enter strings in a form, they show up on other pages with swedish characters looking ok, but when I do it on the Tomcat 4 they are replaced with "?". I set the encoding to utf-8 on each page and the locale is sv_SE.
Any ideas why?
BR
Markus

This example only sets the default file encoding. You'll have to make sure the charset is not being set in another step of your process.
On Windows:
# Place near top of catalina.bat
set CATALINA_OPTS=-Dfile.encoding=UTF-8
On Linux:
# Near top of startup.sh
CATALINA_OPTS=-Dfile.encoding=UTF-8
export CATALINA_OPTS

Similar Messages

  • Problems displaying swedish characters !

              Hi !
              I have a very strange problem, which I have been struggling with for a while now.
              I have a JSP page which calls Java classes to generate a HTML table. I define the
              basic structure of the table in the JSP file, such as which fields should be in it etc..
              The Java classes makes a call to an Oracle database and fetches the records in a
              recordset.
              On the JSP page I call a method which generates the HTML table from the recordset
              and returns a string to the page. I have a lot of swedish characters in some of the
              columns, and they display fine. At least when the table is not that big....
              Example:
              I populate the table with 24 records and swedish chars (åöä) looks ok, but when I
              populate the table with 25 records the swedish chars displays as jibberish.
              For example: 'ö' => 'ö'
              What seems strange to me is that it looks like its depending on the amount of data
              that I return to the JSP page. In the logfiles all characters seems to be ok.
              Content-Type is set to 'iso-8859-1', if I change to 'UTF-8' they look ok.
              Unfortunately I cannot set UTF-8 as the content-type due to
              restrictions on the rest of the website.
              And since it seems that if I only send a smaller amount of data
              to the browser it looks ok, so there must be some way out of this...
              Has anybody got any clues ??
              regards,
              /Magnus
              

    Solved the problem....
              I did not use the PrintWriter in the 'response' object to write the HTML-table, I
              simply just sent out a big string to the page which got corrupted when reaching
              a certain size.
              Solved it by using the PrintWriter instead.
              /Magnus
              Magnus Rosenquist wrote:
              > Hi !
              >
              > I have a very strange problem, which I have been struggling with for a while now.
              >
              > I have a JSP page which calls Java classes to generate a HTML table. I define the
              > basic structure of the table in the JSP file, such as which fields should be in it etc..
              > The Java classes makes a call to an Oracle database and fetches the records in a
              > recordset.
              >
              > On the JSP page I call a method which generates the HTML table from the recordset
              > and returns a string to the page. I have a lot of swedish characters in some of the
              > columns, and they display fine. At least when the table is not that big....
              >
              > Example:
              > I populate the table with 24 records and swedish chars (åöä) looks ok, but when I
              > populate the table with 25 records the swedish chars displays as jibberish.
              > For example: 'ö' => 'ö'
              >
              > What seems strange to me is that it looks like its depending on the amount of data
              > that I return to the JSP page. In the logfiles all characters seems to be ok.
              >
              > Content-Type is set to 'iso-8859-1', if I change to 'UTF-8' they look ok.
              > Unfortunately I cannot set UTF-8 as the content-type due to
              > restrictions on the rest of the website.
              >
              > And since it seems that if I only send a smaller amount of data
              > to the browser it looks ok, so there must be some way out of this...
              >
              > Has anybody got any clues ??
              >
              > regards,
              > /Magnus
              Magnus Rosenquist
              Mobile Mind AB
              +46 (0)63 12 49 30 (Phone)
              +46 (0)702 69 41 72 (Mobile)
              mailto:[email protected]
              http://www.mobilemind.se
              

  • Swedish characters hangs Staroffice 8

    HI,
    I have just installed Staroffice 8 on Solaris 9/sparc but when trying to write Swedish characters "������" writer hangs!
    Is this a know bug or is there something else in the environment that is wrong?
    /michael

    Have you compared the HTTP responses between the working and non-working
    ones?
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    +1.617.623.5782
    WebLogic Consulting Available
    "Johan Thorselius" <[email protected]> wrote in message
    news:3ac9ed18$[email protected]..
    >
    We have a problem with swedish characters using Solaris 8, WLS 6.0 andOracle 8.1.7.
    When we insert text containing swedish characters to html input fieldsthey turn
    up as invalid characters. At the same time, when reading text from Oracleto the
    same JSP pages everything looks fine. We don't think this has anything towith
    Oracle, it must be something at the WLS level, in the servlet and or JSP.We don't
    see the problem using WLS on Windows NT. Can this be a problem with thecharacter
    set ? How do we solve it ?

  • LR 2.1 Unable to Open as Smart Object in PS CS3 due to swedish characters in folder name

    When I try to open a raw file from Lightroom 2.1 as a smart object in Photoshop CS3 and the folder contains swedish characters, like åäöÅÄÖ, it will not open at all -> PH starts up and presents a "Open As" dialog.
    It works fine when I open images that is in a folder only having english characters...
    As I read that some apostrophe-related problems were fixed in the 2.1 release I hoped that it included all special characters allowed in folder names... The same problem occurs in version 2.

    My problem might be of a similar origin.
    I have also posted it on a different thread http://www.adobeforums.com/webx/.59b6903c
    I use mostly Hebrew characters for Keywording (the file names are in English) after opening in CS3 and saving, the keywords are converted from Hebrew fonts to accented fonts like åäöÅÄÖ.
    This didn't happen in LR1 and does not happen if I use CS3 as my secondary editor (not using the new LR2 edit in CS3 functionality)
    Shai

  • Upload files with swedish characters NS 4.7

    Hi,
    I can upload files with swedish characters in the file name with IE 5, but not with Netscape 4.7. iFS presents an error message that the file doesn't exist or is empty.
    Is there a solution for this problem?
    /Elin
    null

    check out if you are using javascripts and whether IE supports it
    Roberto Nanamura <[email protected]> wrote:
    >
    Hi,
    I am having a problem uploading files with Internet Explorer, it works with
    Netscape Communicator. Has someone had the same problem?
    I am using WebLogic 5.1 service pack 5 with Netscape iPlanet 4.1 service pack 2
    in a Solaris 7.
    Best regards,
    Roberto N Nanamura
    Technical Consultant
    Summa Technologies

  • Swedish characters....

    I am having serious problems with swedish characters under
    Oracle 8.0.5 for Linux. I have selected the WE8DEC charset
    for my ORCL instance and the NLS_TERRITORY AND NLS_LANGUAGE
    are properly set in the initORCL.ora file, but i just cant
    get the charachers J}Y to work in sqlplus. When i set the
    NLS_LANG environment variable i get probliems logging in
    from sqlplus !!!!
    What am i doing wrong !!
    null

    What do you set NLS_LANG to?
    Try using:
    NLS_LANG=american_america.we8iso8859p1
    or
    NLS_LANG=american_america.we8dec
    # schoen
    Erik Ytterman (guest) wrote:
    : I am having serious problems with swedish characters under
    : Oracle 8.0.5 for Linux. I have selected the WE8DEC charset
    : for my ORCL instance and the NLS_TERRITORY AND NLS_LANGUAGE
    : are properly set in the initORCL.ora file, but i just cant
    : get the charachers J}Y to work in sqlplus. When i set the
    : NLS_LANG environment variable i get probliems logging in
    : from sqlplus !!!!
    : What am i doing wrong !!
    null

  • Special/Swedish characters in an AXL request

    Hello,
    I am developing an application that is adding a user to the Call Manager (4.1). When I try to add a name with swedish characters (???) the CCM changes them to question marks "?". I have tried adding the swedish characters unicode encoded, ? = &#246, but then I get a AXL syntax error.
    Adding the names with swedish characters using the normal CCM interface works fine.
    Any idea what I could be doing wrong?
    Thanks in advance
    Tomas

    I believe it would be helpful if you share the code that writes the axl requests (I asked which ones you used.. you did not reply so far).
    Here's an addUser request that uses an ? and a ? and my code - based on the java code from the sdk to make axl requests- has no trouble sending it.. and the user is created with the proper characters:
    http://www.cisco.com/AXL/1.0" xsi:schemaLocation="http://www.cisco.com/AXL/1.0 http://gkar.cisco.com/schema/axlsoap.xsd" sequence="1234">
    H?nsliB?nzlihbue1234512345
    However, if you do a getuser, and use the same code to send / receive requests, the result will be distorted.. that's because data from the dc directory comes back UTF-8 encoded, whereas data from the database comes back as Latin (that's the default character set on your and my computer).. since the request can be sent without making any changes, that means you don't need UTF-8 encoding.. you should not do anything with the encoding, unless your default character set isn't Latin1 (it's the default throughout Europe.. even if you have an English OS, as long as the regional settings are for a European country, you'll have the proper character set..
    Don't forget though: getXYZ comes back latin encoded if the data is from the SQL server, and UTF-8 encoded if it's from the DC directory.. so you have to tell the stream reader that the data is utf-8 encoded when you do a getuser (at least for ccm 4.1.3).

  • Issue with Swedish Characters in mail body

    Hi,
    We are sending mails to some other system from SharePoint. All the swedish characters like ä,Ä,ö become ???.
    When we are sending mails from outlook to that system , we are getting proper mail.
    so the issue is from sharepoint side.
    we are sending mails in UTF8 format nad we have tried all other options as well.
    can some one help us in this case.
    Thanks,
    Heerak

    Hi Heerak,
    According to your description, the email sent from SharePoint replaced Swedish characters with question marks.                                            
    I tried to reproduce this issue, however the Swedish characters in the email body displayed right.
    Did this issue occur in all the emails sent from SharePoint?
    I recommend to create a simple workflow with the send email action to see if the issue still occurs in order to narrow the issue scope.
    Please also re-check if the character set for the corresponding web application is UTF-8.
    Go to Central Administration > Application Management > Manage web applications > Highlight the corresponding web application, click General Settings in the ribbon and choose Outgoing E-mail.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Swedish characters in OEM reports

    Hi,
    I have created a report that lists a table that have text with swedish characters in it.
    When i publish the report as "Whenever the report web page is viewed" the charachters is shown correctly,
    but with the option "Only when scheduled" all the swedish charachters are replaced with a "?".
    The Oracle account has default NLS_LANG=Swedish_Sweden.WE8ISO8859P1
    and root has the same when the Apache server is started.
    Where and what should i change ?
    Environment:
    Solaris SunOS 5.9
    OEM 9.2.0.1
    Oracle 9.2.0.5.0
    Thanks in advance.
    /Uffe

    If anyone is interested ?
    I found a "Japanese" solution in Metalink's FAQ Note:220379.1
    Add the lines :
    wrapper.env.copy=NLS_LANG
    wrapper.env.copy=LANG
    in the file $ORACLE_HOME/Apache/Jserv/etc/jserv.properties
    /Uffe

  • Swedish characters wont display!

    How do I get these swedish characters " å, ä ,
    ö " to show up in a dynamic text box?
    Do I have to embed a particular character map....which one?
    thanks
    T

    figured it out...I just embed: å, ä , ö
    doh!

  • Tomcat 4.0.x and JSP / JSTL performance problems.

    Hello everyone,
    I've got a web application where some of my JSP pages are rendering quite slowly. As an example I'll use a JSP page that I wrote for browsing through a user database. It uses two beans...
    1. jobBean - Ensures that all of the required (and correct) beans that will be used for processing the request have been loaded.
    2. browserBean - A basic JavaBean that holds a set of UserBean(s) and other information pertinent to database queries (start, limit, order).
    I'm using Apache Struts to map requests to the appropriate processing modules. Now the problem I'm having is that each request is taking between 1 and 2 seconds to execute. As you can imagine that's not going to allow for very many simaltaneous users. I've tracked the problem down to something JSP related. All of my code executes fairly quickly (I think). It takes about 20-30ms for my code to identify the request, load the requested data from the database, and convert it into a usable format (the browserBean). Here's my code...
    <%@ page contentType="text/html"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <META http-equiv="Cache-Control" content="no-cache">
    <title>
    Browse Users
    </title>
    </head>
    <body>
    <!-- Set up the OrganizationBeans for use -->
    <jsp:useBean id="jobBean" class="com.vacode.jobs.generic.JobBean" scope="session" />
    <jsp:useBean id="browserBean" class="com.vacode.mqdb.beansets.user.UserBrowserBean" scope="session" />
    <!---------------------------->
    <!-- Start Time Logged Here -->
    <!---------------------------->
    <c:if test="${jobBean.currentJob.name != 'BrowseUserJob'}">
         <!-- This page was accessed before everything was properly initialized -->
         <c:url var="browseUser" value="manageUsers.do">
              <c:param name="action" value="browse" />
         </c:url>
         <c:redirect url="${browseUser}" />
    </c:if>
    <form action="manageUsers.do" method="get">
         <input type="hidden" name="action" value="browse">
         <input type="hidden" name="start" value="<c:out value="${browserBean.dummyStart}" />">
         <input type="hidden" name="order" value="<c:out value="${browserBean.order}" />">
         I would like to view
         <select name="limit">
              <c:forEach begin="1" end="5" var="current">
                   <option value="<c:out value="${current*5}" />"
                        <c:if test="${browserBean.dummyLimit == current*5}">
                        selected
                        </c:if>
                   >
                    <c:out value="${current*5}" />
                   </option>
              </c:forEach>
         </select>
         results per page.
         <input type="submit" action="submit">
    </form>
    <c:url var="id" value="manageUsers.do">
         <c:param name="action" value="browse" />
         <c:param name="start" value="0" />
         <c:param name="order" value="USER_ID" />
         <c:param name="limit" value="${browserBean.dummyLimit}" />
    </c:url>
    <c:url var="name" value="manageUsers.do">
         <c:param name="action" value="browse" />
         <c:param name="start" value="0" />
         <c:param name="order" value="USER_NAME" />
         <c:param name="limit" value="${browserBean.dummyLimit}" />
    </c:url>
    <c:url var="firstName" value="manageUsers.do">
         <c:param name="action" value="browse" />
         <c:param name="start" value="0" />
         <c:param name="order" value="USER_FIRST_NAME" />
         <c:param name="limit" value="${browserBean.dummyLimit}" />
    </c:url>
    <c:url var="lastName" value="manageUsers.do">
         <c:param name="action" value="browse" />
         <c:param name="start" value="0" />
         <c:param name="order" value="USER_LAST_NAME" />
         <c:param name="limit" value="${browserBean.dummyLimit}" />
    </c:url>
    <c:url var="email" value="manageUsers.do">
         <c:param name="action" value="browse" />
         <c:param name="start" value="0" />
         <c:param name="order" value="USER_EMAIL_ADDRESS" />
         <c:param name="limit" value="${browserBean.dummyLimit}" />
    </c:url>
    <c:url var="organization" value="manageUsers.do">
         <c:param name="action" value="browse" />
         <c:param name="start" value="0" />
         <c:param name="order" value="USER_ORGANIZATION_NAME" />
         <c:param name="limit" value="${browserBean.dummyLimit}" />
    </c:url>
    <c:url var="status" value="manageUsers.do">
         <c:param name="action" value="browse" />
         <c:param name="start" value="0" />
         <c:param name="order" value="USER_STATUS_NAME" />
         <c:param name="limit" value="${browserBean.dummyLimit}" />
    </c:url>
    <c:url var="role" value="manageUsers.do">
         <c:param name="action" value="browse" />
         <c:param name="start" value="0" />
         <c:param name="order" value="ROLE_NAME" />
         <c:param name="limit" value="${browserBean.dummyLimit}" />
    </c:url>
    <table>
         <tr>
              <td><a href="<c:out value="${id}" />">Id</a></td>
              <td><a href="<c:out value="${name}" />">User Name</a></td>
              <td><a href="<c:out value="${firstName}" />">First Name</a></td>
              <td><a href="<c:out value="${lastName}" />">Last Name</a></td>
              <td><a href="<c:out value="${email}" />">E-Mail</a></td>
              <td><a href="<c:out value="${organization}" />">Organization</a></td>
              <td><a href="<c:out value="${status}" />">Status</a></td>
              <td><a href="<c:out value="${role}" />">User Type</a></td>
         </tr>
    <c:forEach items="${browserBean.beans}" var="bean">
         <tr>
              <c:url var="manage" value="manageUsers.do">
                   <c:param name="action" value="modify" />
                   <c:param name="beanId" value="${bean.userId}" />
              </c:url>
              <td><a href="<c:out value="${manage}" />"><c:out value="${bean.userId}" /></a></td>
              <td><c:out value="${bean.userName}" /></td>
              <td><c:out value="${bean.firstName}" /></td>
              <td><c:out value="${bean.firstName}" /></td>
              <td><c:out value="${bean.email}" /></td>
              <td><c:out value="${bean.organizationName}" /></td>
              <td><c:out value="${bean.statusName}" /></td>
              <td><c:out value="${bean.roleName}" /></td>
         </tr>
    </c:forEach>
    <!-------------------------->
    <!-- End Time Logged Here -->
    <!-------------------------->
    </table>
    <c:url var="next" value="manageUsers.do">
         <c:param name="action" value="browse" />
         <c:param name="start" value="${browserBean.nextPageStart}" />
         <c:param name="limit" value="${browserBean.dummyLimit}" />
         <c:param name="order" value="${browserBean.order}" />
    </c:url>
    <c:url var="previous" value="manageUsers.do">
         <c:param name="action" value="browse" />
         <c:param name="start" value="${browserBean.previousPageStart}" />
         <c:param name="limit" value="${browserBean.dummyLimit}" />
         <c:param name="order" value="${browserBean.order}" />
    </c:url>
    <c:if test="${browserBean.previousPageStart>-1}">
         <a href="<c:out value="${previous}" escapeXml="false" />">previous</a>
    </c:if>
    <c:if test="${browserBean.nextPageStart>-1}">
         <a href="<c:out value="${next}" escapeXml="false" />">next</a>
    </c:if>
    <br>
    <br>
    Quick Jump To Page:
    <c:forEach varStatus="loopTag" items="${browserBean.pageStartValues}" var="current">
    <c:choose>
         <c:when test="${loopTag.index+1==browserBean.currentPageNumber}">
              <c:out value="${loopTag.index+1}" />
         </c:when>
         <c:otherwise>
         <c:url var="thisPage" value="manageUsers.do">
              <c:param name="action" value="browse" />
              <c:param name="start" value="${current}" />
              <c:param name="limit" value="${browserBean.dummyLimit}" />
              <c:param name="order" value="${browserBean.order}" />
         </c:url>
         <a href="<c:out value="${thisPage}" />"><c:out value="${loopTag.index+1}" /></a>
         </c:otherwise>
    </c:choose>
    </c:forEach>
    <br>
    <br>
    Max Possible Pages: <c:out value="${browserBean.maxNumberOfPages}" />
    <br>
    Current Page: <c:out value="${browserBean.currentPageNumber}" />
    </body>
    </html>I've added comments where I timed my code from (by writing new Date().getTime() to the console). It usually takes between 1 and 2 seconds for that block of JSP to execute. I wrote a test class that should be very similar to the process (iterating over the forEach loop mainly) and it usually executed in 10ms to 20ms.
    I had a look at the servlets that were generated by Tomcat and I noticed that for each <c:url> I used there's about 300 lines of code (with several syncronized() methods). Could this have anything to do with it? If so, what could I do to improve the performance?
    Worth mentioning... The machine I am using is an AMD Athlon 1GHZ with 768MB RAM, 7200 RPM UDMA100 IDE HDD.
    I'm also using Tomcat integrated with a development environment (IntelliJ IDEA).
    Any help that anyone could offer is much appreciated.
    Thanks,
    Ryan

    Can you get acceptable performance if you hack out everything except the browserBean forEach loop? Maybe you are trying to do too much runtime EL evaluation on the page.
    If performance improves, you may want to push the URL construction and startValue computations to a Struts Action and put a bunch of objects on the requestScope (like "id_url", "name_url", "pageStartValue").
    Putting these computations in the Action would avoid having JSTL parse each of the ${} arguments, evaluating the expressions, and using costly reflection to turn ${browserBean.order} into browserBean.getOrder().

  • JSP + JDBC + MySql Problem (Tomcat 4.1)

    I'm completely helpless... whenever I try to retrieve stuff from the db (using a jsp page), I get errors that don't even make sense.
    out.println(stmt.executeQuery("SELECT * FROM newsTbl WHERE articleID = 1").getString("articleTitle"));if I try doing the above, I get a "ServletException : Before start of result set" error that supposedly occurred at this line of the generated servlet:
    if (pageContext != null) pageContext.handlePageException(t);---------------
    If i try this:
    ResultSet rsSec = stmt.executeQuery("SELECT * FROM newsSecTbl");
    rsSec.beforeFirst();  //<-- Even if I don't have this line the result does not change
      out.println(rsSec.next());
      while (rsSec.next()) { ... }I the while loop is never initiated, because rsSec.next() is false... kind of weird if you ask me, I even put two entries into the table to make sure the cursor wasnt at the first record and saying there was no second one (which would have been right if there were only one record).
    I would be very grateful if someone could help me out with this. I've never done any db programming with Java yet, so I dont have a clue what Im doing. By the way, I'm using MySql (indicated in the title) and the server was running and available when I ran the above code.
    Cheers,
    Tom

    You can't do this:
    out.println(stmt.executeQuery("SELECT * FROM newsTbl WHERE articleID = 1").getString("articleTitle"));The ResultSet you get back is a database cursor that doesn't point to the first row yet. The correct idiom is:
    String sql = "SELECT * FROM newsTbl WHERE articleID = 1";
    ResultSet result = stmt.executeQuery(sql);
    String articleTitle = "";
    while (result.next())
       title = result.getString("articleTitle");
    result.close();
    stmt.close();If you've never done DB programming before, I'd recommend that you click on the Tutorials link to the left and go through the JDBC tutorial carefully. You'll save yourself a lot of grief.
    Another good idea would be to separate out all your database code into at least one separate object, independent of the servlet. That way you can test and develop it off to the side until it's 100% solid. Then your servlet can simply instantiate one and use it. All your problems from that point forward will be servlet issues, because you'll know that your database code is working. - MOD
    See if that works better. - MOD

  • Problems with Swedish characters in maps on n95

    I upgraded my n95 to the latest firmware, 12.0.0.013 and after that my swedish map shows garbled road and city names, i.e Korsnäsvägen is displayed ad Korsnäsvägen. It looks like an international character issue. I also lost my navigation subscription after the upgrade and cant find any info on how to get it back. I've reinstalled the latest Nokia maps app and redownloaded the swedish map several times without any improvement

    09-Jul-200712:35 PM
    tordolsson wrote:
    Yes, I've reloaded the voice commands
    Hi tordolsson
    1. Start Maps application.
    2. Go to "Options > Extra services"
    3. Select "Add navigation > Accept > Purchase > Select the correct region" (I.e. the region you have earlier purchased the navigation to).
    4. You see a list of licenses with different lengths of time. You don't need to select the correct length, just go directly to "Options > Update".
    5. Allow connection to license server to check purchase & license options by selecting "Yes" and by selecting proper Internet access point (if asked).
    6. A note "xxx-day license activated" is shown where xxx is the amount of days left of your license.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • JDK1.3 + Tomcat  and International Characters-- Working!

    I am involved with a project that has people using a "command/ prompt" based system to enter data. Lets assume this is a simple java program that uses system.out. The data they are entering uses international characters such as the � character.and others. Now that the data was captured I wanted to display the data through JSP on a webpage. When doing so I ran into a problem where the � where translated into ?. Thus started the journey
    After much research, and alot of trial and error I came up with the following Test JSP that finally works
    ---- copy / past this to file and type it out from a windows command prompt ---
    <%@page contentType="text/html; charset=Cp1252" %>
    <% String test = "���������"; %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=CP437">
    </HEAD>
    <BODY>
    TEST: XX <%=test%> XX
    </BODY>
    </HTML>
    When you do this you will see ��������� for the test string. By the way if you use Visual Slick you will see the characters properly as apposed to lets say note pad.
    Putting this file in a jsp and runing it under tomcat 4.01 you will see the expected result mainly:
    TEST: XX ��������� XX
    As you can see though by the file the character set the jsp is set to use is cp1252 but the meta tag uses cp437.
    which gives the desired effect of properly printing the characters as I would have hoped.
    So here is my question:
    Am I correct in assuming that the windows command prompt uses CP1252 as a character set (there for any dos / non-windows tool uses the same thing) and that Windows graphical ie notepad, and webpages uses CP437.
    Since this seems to be correct. Is this the right way of doing this? Seems a bit hard coded. I have not tried this on UNIX or a unix based text browser but I suspect this will not work on them. What is the correct way to do this?
    Thanks
    Mike..

    Wow, that seems like a sticky little issue to have overcome. I can offer you no better way to do it, but can wish you luck in your future endeavors!!!!

  • Non-English characters problem

    I am using Flash 8. I am trying to create foreign language
    versions of my flash program, and have been using Embed on the
    properties area with limited success. For example, I am trying to
    display Greek characters using Static text and Arial font. There is
    no embed option for this. However, when I run the swf, the correct
    characters appear for some of the texts and some are just blank.
    Very confusing, particularly as I have checked and they have the
    same properties.
    Also, I am trying to display text using actionscript, through
    a dynamic text field that I can Embed the greek characters. Again,
    I am experiencing a similar problem. I've even tried to use the
    special char codes for the letters, and that doesn't make much
    difference.
    Does anyone have any ideas about what I could be missing
    here? It is getting infuriating.
    Thanks!!!!

    9113060,
    > I have ZCM 11 SP1. In remote management I can input on remote device
    > only English characters.
    > When I change keyboard layuot to Russian - no input at all. But I need
    > Russian keyboard working. Help, please.
    >
    > Management device is Windows XP SP3 box, admin device - Windows 7 SP1
    > and Windows XP SP3 boxes
    Need more info here. I just tested it on Swedish and it works just fine,
    but when you say "When I change keyboard layuot to Russian" does that
    mean that the default on your machine or the target machine is not
    Russian?
    - Anders Gustafsson (NKP)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms

Maybe you are looking for

  • F.08 - G/L Account Balance

    Hello All, I am executing the report F.08 - G/L Account Balance. I am entering the data in selection parameters and executing the report. Now on the header level of the report, I am seeing Date and Time which i do not want to display. Would you all p

  • Simple 'create a patch from subversion' script

    This script was written for a specific use, in a specific environment: here's the setup: You have a (development) PHP project under subversion source control, and another, un-versioned (live) copy.  You make changes to the development version, commit

  • Installing Microsoft Office:mac 2004 Student and Teacher Edition

    I am trying to install Microsoft Office:mac 2004 student and teacher edition. I don't know how to achieve this. I have tried the Office Setup Assistant but it says "You can't open the application "Office Setup Assistant" because PowerPC applications

  • Forte integration with LDAP

    Hi. Has anyone successfully integrated with LDAP using the C library from LDAP SDK? Currently I'm facing a problem when I tried to generate the C++ wrapper for the C library. The compiler is unable to resolved the data type of some data structs. This

  • Print Photo from wireless

    When I print a photo wirelessly from the test it prints correctly.  However, when I choose to print a photo outside of the setup it prints on paper instead of the photo paper.  I check 4 x 6 print on HP Premium Paper. What am I doing wrong?