� symbol displaying with a Unicode U+00C2 character in front of it.

Using the same java application code and the same j2sdk_1.4.1_02fcs java package I get a display difference between Redhat 7.3 and Redhat EL4 AS.
nf = NumberFormat.getCurrencyInstance(new Locale(lan, con));
String res = nf.format(money);
This results in a single strange character preceeding the monetary symbol for UK pound symbol.
Instead of just displaying a � character in front of monetary values I am getting a Unicode U+00C2 character in from of is as shown :
Good = �1.23
Bad = ��1.23
I used the following simple test program to show this :
>>
import java.text.NumberFormat;
import java.util.Locale;
public class Test555
public static void main (String[] args)
NumberFormat nf = NumberFormat.getCurrencyInstance(new Locale("en", "GB"));
System.out.println(nf.format(1.23));
<<
I compiled this and ran the class on both machines...
on a Redhat 7.3 machine: �1.23
on a Redhat EL4 AS machine : ��1.23
The /bin/unicode_start program only works on the console in a VT or xwindows with a TERM type of xterm, but allows the console to properly display the characters.

The upgrade to Red Hat 8.0 and beyond changed the default character
encoding from ISO-8859-15 to UTF-8. The UTF-8 translation scheme will translate the Unicode representation of the Pound Sterling to a 16-bit UTF-8 representation by prepending an 0xC2 to the 0xA3 (the Pound). It is this 0xC2 that we see represented as the capital A circumflex or the "T" symbol we noticed earlier.
Is there a way to remove the prepending 0xC2 that was added by the 16bit UTF-8 representation ?

Similar Messages

  • Some character display incorrect after unicode conversion

    Dear Experts,
    Currently we upgrade our SAP system from 4.6B NU to ECC6.0 UN.
    in 4.6B system we had implemented Simple Chinese and French language package to the system. after upgrade to ECC6.0 no-unicode system. we perform a MDMP unicode conversion.currently system running with ECC6.0 unicode interface with language 1EFD. SUMG releated tasks had been finished. Chinese and French language checked OK in ECC6 UN system.
    Our issue is. in the past time. some Spanish local end user typing some spanish character in some master date field when they login in 4.6B GUI choice english as login language.these kind of spanish characters could not display correct in current unicode environment.
    could you please given us some suggestion for how to fix this issue.
    I also sent this message in the Netweaver administrator forums with below links.
    Spanish display incorrect after unicode conversion

    Hello,
    I doubt that the data shown by you in the link was caused by Spanish users logged on in EN.
    I think this was rather caused by utf-8 data uploaded into the Non-Unicode system.
    In this case, you need to repair the according texts manually, I do not know any automatic repair.
    Best regards,
    Nils Buerckel
    SAP AG

  • Send PO Mail with PDF File that Chinese character doestn't display

    Send PO Mail with PDF File that Chinese character doestn't display.
    I am using RSTXPDFT4, unicode ECC6.0
    Some computer Adobe Reader can read the file, but some computer cannot read, just a blank page.
    Thanks.

    Hi
    I worked for one client-chinese where we have to print chinese & english ( bilingual).You need to have dricer program which could identify both scripts .You are right ( unicode0
    Please check for the driver program : TWPDF : PDF converter Chinese in SPAD setting.
    SAP note is available.I will check and let you update .
    Edited by: sunny on Oct 28, 2009 10:29 AM

  • XSQL exception displaying funky chars:Cannot map Unicode to Oracle characte

    Hi.
    I'm using XSQL Servlet to serve XML from a 9.2 database. The varchar columns I'm trying to display have non-ASCII characters in them (Spanish enye, curly quotes, etc.). The database's character encoding is WE8ISO8859P1, which handles these characters fine. Running a simple "select * from..." query, I get this error:
    oracle.xml.sql.OracleXMLSQLException: Cannot map Unicode to Oracle character
    which seems odd considering it ought to be mapping an Oracle character to a Unicode character, not the other way around. Additionally, what's the problem? Unicode supports a large superset of WE8ISO8859P1.
    Any idea how I can get XSQL Servlet to play nice with these funky characters?
    Thanks,
    Andrew

    Update: still stuck...

  • Send PO Mail with PDF File that Chinese character doestn't display correctl

    Send PO Mail with PDF File that Chinese character doestn't display !
    I am using RSTXPDFT4 , tried different computer, some Adobe Reader can read
    some are Blank .......
    why ?

    Hi,
    那不是要每一台 PC 如果看不到中文就要更新 ?
    如果用戶不懂, 那就不是永遠看不見 ? 因為那是供應商嗎 !

  • Engraving with a unicode character

    didn't know where the best place to ask this question was...
    i'm about to replace my 5th gen ipod with an 80GB ipod classic. i want to get it engraved with a unicode character (ॐ), but when i type it into the "Line 1" field it doesn't show up. It shows up as a question mark (?). Is this just on the website, or will it actually engrave as a question mark. I really want to make sure it engraves with what i want since i can't return engraved items.
    Please and thank you

    Hi Mexigerm,
    Accented and other special characters, including "~*\, cannot be used in your iPod engraving or gift message.
    Unfortunately your character is also included on the list.
    If you proceed with the engraving, a question mark will appear... Sorry!
    Hope this helps!
    !http://signatures.mylivesignature.com/54486/122/A57996D55BE7ABB4A67DE686D381A27 4.png!

  • Difficulty with java Unicode for internationalization

    First, my appologies for the cross-post. I'm not sure if this is a
    configuration issue, simple java / jsp problem or something others
    performing internationalization may have encountered.
    We're generating UTF-8 HTML pages using .jsp's, Weblogic 5.1 sp5, jdk
    1.2.2 and NT 4.0 w/ the Euro patch.
    We have the ability to serve UTF-8 encoded data from flat files and our
    database but we're having some problems serving Unicode that have been
    "escaped" into java variables.
    If we use the &#nnnnn (nnnn is decimal unicode value for character) HTML
    method for displaying unicode characters, they display just fine.
    However, if we create a java String or char and push a character into it
    via \uNNNNN (NNNNN is hex unicode value for character) and then display
    the content of this variable through the HTML page, something goes
    awry. Here's an example:
    <% String checkChar = new String("\u0000");%>
    <td class="smallfont"><% checkChar = "\u00A5";%><%=checkChar%></td>
    <td class="smallfont"><% checkChar = "\u20A5";%><%=checkChar%></td>
    <td class="smallfont"><% checkChar = "\u30A5";%><%=checkChar%></td>
    This should display the Yen symbol, Mil Sign and a Katakana small 'u',
    respectively. Oddly enough, it displays the Yen symbol all three
    times. I've had similar results with other series of Unicode characters
    (several Unicode characters that share the same second hex digit.)
    If you want to see this via HTML, check out
    http://dev.slingshotcorp.com/char.jsp.
    We've added "-Dfile.encoding=UTF8" to the java invocation in
    startWebLogic.cmd and we've verified that the setting is persisted into
    the .jsp. Unfortunately, our output isn't affected.
    Anyone know what I'm doing wrong? It appears that java is somehow
    assuming the first hex digit is always "00." Does this sound familiar
    to anyone?
    Thanks - Jackson

    Hello Earl,
    I was having similar problem.
    I was able to display &#nnnnn and the chinese character
    from database, but not \unnnn.
    I think Kevin Burns was making a good suggestion by
    giving page directive in your jsp file (UTF8) 'cause that's what
    I did AND it started to display \unnnn just fine from
    my property bundle files. You may give a try!
    But my problem is that after I gave the UTF8 page directive,
    the stuff I'm reading from db (oracle 8.1.6, with NLS_LANG)
    displayed as garbage. Do you think it's because that
    WLS supports only Unicode?
    thanks,
    --Renqi Li
    Earl Bob wrote:
    Has any else come across this gem? I think this is the root of my problem.
    "Caution: Currently, WebLogic JSP only supports 8-bit character sets. "
    http://www.inf.fu-berlin.de/lehre/WS00/SWT/BEA/documentation/docs51/classdocs/API_jsp.html
    The most recent Weblogic documentation has revised this statement to:
    "WebLogic JSP supports mulitbyte character sets according to the Unicode
    standard. "
    http://www.weblogic.com/docs51/classdocs/API_jsp.html#wljsp
    We believe that the 16-bit characters we're passing around through Java
    variables are being cliped to 8-bit characters as they're written to HTML.
    Does anyone know when (which service pack) provided WL 5.1 JSP with the
    ability to handle multi-byte charactersets? We're currently using WL 5.1
    sp5.
    Thanks - Jackson

  • Why are some websites displayed with added question marks inside black diamonds

    Numbers are displayed with question marks inside black triangles before and following, possibly as column separators.
    == This happened ==
    Every time Firefox opened
    == I attempted to access financial websites

    Can you post a link?
    You can try a few different encoding settings: "View > Character Encoding" like Western ISO-8859-1 or another Western encoding or UTF-8
    You can also try to switch on Auto-Detect: "View > Character Encoding > AutoDetect > Universal"
    A diamond with a '?' usually indicates that a character is missing in the font that is used on a website or the wrong encoding is used.
    You get the '?' on websites that use an 8 bit encoding like ISO-8859-1 or a Windows encoding like Windows-1252.
    This issue can happen if content was copied from one 8 bit or Unicode encoding to another encoding.

  • Currency field to be displayed with commas and asterisks(formatting)

    I have a field REGUH-RWBTR in my sap script code. I need to have the currency displayed with commas. And also if the digits are less, then left pad it with asterisks for remaining spaces.
    For eg, If the Digit is 12345678912.23 (max value), it should print as 12345,678,912.23.
    And If the digit is 12345.89, it should print as ******12,345.89
    Please help me to solve this problem.Its urgent.
    Thanks,
    Sandeep.

    Hello,
    You can use the WRITE using EDIT MASK.
    USING { {NO EDIT MASK}|{EDIT MASK mask} }
    Effect
    This addition overrides a conversion routine defined through reference to the ABAP Dictionary. The addition NO EDIT MASK only switches off the execution of an assigned conversion routine. The addition EDIT MASK calls either another conversion routine or defines an edit mask. For mask, a data object of the same name is expected.
    In order to call an arbitrary conversion routine CONV, mask must contain two equals signs, followed directly by the name of the conversion routine: "==CONV". During output, the content of dobj is passed to the function module CONVERSION_EXIT_CONV_OUTPUT, converted there, and then the result is displayed. If the function module is not found, an exception that can be handled is triggered (as of Release 6.10). The statement DESCRIBE FIELD contains an addition in order to fill mask accordingly.
    If the output length is specified explicitly with len, the conversion routine is executed for the specified length; otherwise for the implicit output length. If * or ** is specified for the output length, the appropriate rules are used for the converted result.
    If the first two characters in mask are not equals signs, the content is interpreted as an edit mask in which some characters have a particular meaning. The WRITE statement does not then output the content of dobj directly, but the character string in mask as follows:
    If the first two characters in mask are "LL" or "RR ", these are not output, They control whether the edit mask is left-justified or right-justified. If the first two characters are other characters, the edit mask is left-justified.
    All "_" characters are replaced from the left (in the case of "LL") or from the right (in the case of "RR") with characters for character-type types or numbers for the types p or i from dobj. In the case of fields of type c, closing blanks are ignored. Data objects of type f or x are converted into type c before editing. Superfluous characters "_" in mask are replaced by blanks. Characters from dobj for which there are no characters "_" in mask are not displayed.
    If dobj is of type i or p, the first character from the left "V" in mask is replaced with "-" in the case of a negative number and by blank in the case of a positive number.
    All the other characters of the edit mask are displayed unchanged.
    If no output length is specified, the implicit output length of dobj is used. If len is specified for the output length, the value of len is used. If * is specified for the output length, exactly that length that is required for the list display is set. If, in Unicode systems, characters of the edit mask are replaced by characters that take up more than one column on the list, the output length is increased accordingly and the output is filled with blanks in the list buffer. If ** is specified for the output length, double the length of the edit mask mask is used.
    If other formatting options are specified concurrently for an edit mask, these are used first and then the special characters in the edit mask are replaced by the interim result. The date masks date_mask are an exception to this. If these are specified, the edit mask is ignored.
    Notes
    In Unicode systems, you must remember that a character "_"in the edit mask does not necessarily correspond to a column in the list display since the space required in the display depends on the character to be replaced.
    The minus sign for a negative number is not displayed if no edit character "V" is specified. The decimal separator of a packed number with decimal places must be specified at the required position in the edit mask.
    Example
    Edited output of time duration. In the first output, the function module CONVERSION_EXIT_DURA_OUTPUT is executed. This converts the duration specified in seconds into minutes. In the second output, the edit mask is output according to the above rules. However, the underscore characters "_" are replaced by the characters from time.
    DATA: dura TYPE i,
          time TYPE t VALUE '080000'.
    dura = sy-uzeit - time.
    time = dura.
    WRITE /(30) dura USING EDIT MASK '==SDURA'.
    WRITE /(30) time USING EDIT MASK
                           'RRThe duration is __:__:__'.
    Regards,

  • Flash 9 Public Alpha work uncomplete format with Khmer Unicode on design page view

    I am trying using your trial product in Cambodia to test the
    Khmer Unicode of usp10.dll in system32 of Windows XP Professional
    and Windows Vista Ultimate, but I am sad to tell you that Flash 9
    Public Alpha did not support with Khmer Unicode in the right format
    of Khmer Language. Can you include Khmer Unicode Fonts into your
    Flash 9 Public Alpha? Even though Flash 9 Public Alpha has some
    error of character spaces with with Khmer Unicode on the design
    view, but as you press Ctrl key + Enter to test video, it display
    well Khmer Unicode Format. Please try correct more on the design
    page view, I hope Flash 9 Public Alpha will fully support with
    Khmer Unicode.
    Khmer
    Unicode Downlaod
    Thank you and best regards,

    In IE it shows as a blank page (white), in Firefox  it's all there.  I'd suspect a CSS issue.

  • Chinese Version no displayed properly after Unicode Conversion

    Hi,
    Recently at a customer site we converted our SAP ERP ECC6 to unicode from non-unicode. After that we have applied chinese ( ZH ) language pack.
    But the thing is there are still texts which are being displayed in English or German. such as when we go to MM03, the tabs MRP1, MRP2 and MRP3 are being displayed in english only when I login with ZH language. But when I login with DE, the tabs MRP1, MRP2 and MRP3 are being shown in German.
    Also another thing is that all numeric data is being displayed with enmglish characters i,e, ( 1,2,3,...) where I expected them to be displayed in Chinese ( ZH ).
    Please share any informationyou are having in this matter.
    Regards,
    Mandar.

    Hi Mandir,
    Unicode conversion is not meaning of when you login different language and the text and numbers will be displayed in the login language.
    Unicode system having only one code page which can be showed the text and number in exact input format and would not show any junk characters.
    In the SAP 4.7 version if you login in the Chinesh language and maintain a material description in same language and
    Then if you again login in English language that description will be showed as junk characters(some other symbols).
    Whereas in unicode system ECC6 if you maintain the material description in Chinesh and then login in English language you can able to see the material description in exact format.
    If I get more information I provide that also.
    regards,
    Saravanan V

  • XSU Problem:Error-- Cannot map Unicode to Oracle character

    Hi, I am using XSU to get the resultset from database(oracle 9.2.0.6.0) as XML.When I query data from some columns and get the XMLString, they give me error -"Cannot map Unicode to Oracle character". The database charset is "US7ASCII" .
    One column is storing Chinese with ''US7ASCII".When xmlString Result contianer
    the column,there is "oracle.xml.sql.OracleXMLSQLException: Cannot map Unicode to Oracle character".But If xmlString Result don't container that column,it run very good.
    The program container these libs: ojdbc14.jar,xmlparserv2.jar,xdb.jar,nls_charset12.jar,xsu12.jar.
    The program code:
    public class OracleXmlParse {
    public static void main(String[] args) {
    try{
    DriverManagerDataSource dataSource = new DriverManagerDataSource("oracle.jdbc.driver.OracleDriver",
                        "jdbc:oracle:thin:@168.1.1.136:1521:imis","ims","ims");
    String selectSQL = "select AREA_CODE,AREA_NAME,REGION_CODE,AREA_NAME_CN from CDM_AREA";
    OracleXMLQuery query = new OracleXMLQuery(conn,selectSQL);
    query.setEncoding("UTF-8");
    String str = query.getXMLString();
    System.out.println(str);
    conn.close();
    }catch(SQLException e){
                   e.printStackTrace();
    Exception:
    Exception in thread "main" oracle.xml.sql.OracleXMLSQLException: Cannot map Unicode to Oracle character.
         at oracle.xml.sql.core.OracleXMLConvert.getXML(OracleXMLConvert.java:1015)
         at oracle.xml.sql.query.OracleXMLQuery.getXMLString(OracleXMLQuery.java:267)
         at oracle.xml.sql.query.OracleXMLQuery.getXMLString(OracleXMLQuery.java:221)
         at oracle.xml.sql.query.OracleXMLQuery.getXMLString(OracleXMLQuery.java:198)
         at procedure.OracleXmlParse.main(OracleXmlParse.java:34)
    The column that store chinese is AREA_NAME_CN .When "selectSQL " is equal to "select AREA_CODE,AREA_NAME,REGION_CODE from CDM_AREA",the program is ok.
    Please help.
    Message was edited by:
    user542404
    Message was edited by:
    user542404

    So, What is the solution ? Is there something I can do in my code ? My program gives the exception and stops. I am not even interested to fetch the data, which are giving this error.

  • Button with label Unicode

    Hi everybody!
    I want to creat an applet, and there's one button in it. I want to set its label with some Unicode chars. For example, I want to use Chinese chars as the label for this button. Does anybody can explain me how I can do it?
    Thanks in advanced.

    You should be able to just set the lable to whatever chinese character you want to use. Just create a string that holds those characters, and call Button's setLabel method.

  • A NO symbol (circle with a slash thru it) on the screen

    Changed HD on my Mac Book. The HD  has OSx lion preinstalled.
    When I power up all I get is chime and a NO symbol (circle with a slash thru it) on the screen

    Hi, echokim.  
    Thank you for visiting Apple Support Communities.
    Here is the best article to go through when your iPod displays this image.
    iPod Displays a Red "X" Icon
    http://support.apple.com/en-us/HT203170
    Cheers,
    Jason H.

  • How do i use an external display with my macbook pro?

    How do I use an external display with a macbook pro?

    Just buy the proper adapter cord, such as MiniDisplay port to HDMI for example.  Plug it in and it will be automatically recognized.  Use System Preferences > Displays to set options.
    The display can Mirror your primary desktop or Extend the Desktop.
    Regards,
    Captfred

Maybe you are looking for