Wrong chinese character in place of u00B5F
Hello All,
We converted SAP 4.7 sp 63 to Unicode.
During vocabulary maintenance there were 1500 collisions.
for µF it was language ZH assigned.
Now, after unicode conversion material description in sales order is incorrect.
(i.e. PCC LP 4500礔 DC 900V instead of PCC LP 4500µF DC 900V).
But intreastingly the description for same material in tables MARA, MAKT is correct.
it is only wrong in VBAP.
when i am trying to correct it using SUMG it is not getting corrected.
what would be the solution for this.
as of now i only think of possible solution to correct language assignment in vocabulary before Unicode.
Experts please help.
Thanks
Harshavardhan.
Hi Harshavardhan,
MARA and VBAP are language independent.
MAKT is language dependent.
Therefore for MAKT, the system uses the language key. If it is EN, then in a standard MDMP system, the entry is converted properly.
For MARA and VBAP, the system uses the vocab info.
Now it could be that in VBAP the word is assigned to ZH and for MARA to EN.
So the main question is whether 礔 is a valid Chinese word, which also appears in the according tables ?
If not, I would correct the vocab info (and assign EN consistently).
However independent of that, you should be able to repair the entry.
You have to add the table manually in SUMG, select the according entry / entries and do the repair.
Best regards,
Nils Buerckel
SAP AG
Similar Messages
-
In my Nokia 5800, v21.0.101, the Chinese character "福" is wrongly displayed in the traditional Chinese character format. The same word should be identical with the simplified Chinese character format, which is correctly displayed in the same handset.
A lot of Chinese folks treasure their culture a lot, and such a mistake may not be tolerable to them.
Joe ChanYou should report this to Nokia via the "contact us" tab at the top of the page. Nokia does not monitor these forums for bugs or issues.
Ravi -
Problem with chinese character for dot matrix epson LQ-1600K III
Hi All,
I really runs out of idea about my problem now. The problem is about Print Chinese character to dot matrix printer (Epson LQ-1600K III). I tried to so many device type to solve this issue, looks like the only device type can be use are CNSAPWIN and CNEPSON with CNSONG font type. The others if I print to the printer, the chinese character became # (although in the print preview it`s okay and display correctly).
Here is the bottleneck if I use CNEPSON:
- if I have 2 window at the left and right position, if the left window has chinese character, the right window automatically shift right about 1.5 CM, which is damn weird!!! Can somebody help me
- I tried so many ways to adjust the line size for my detail window (to cater positioning at pre-printed boxes), but looks the font size always become 10pt and line size cannot be adjustable (based on smartstyle).BUT if I used device type epescp2, it can be done!
Here is the bottleneck if I use CNSAPWIN:
- I need to create format type in windows and SAP (SPAD). and every PC that use this printer, must define the Paper size ( China Special paper size 12inch)
- I also think this is not a good idea because as I far as I know this is not the correct way..
Therefore, if somebody has experience about printer chinese character to dot matrix for Smartform and sapscript..please kindly help me give some advice.
Do I use the wrong device type?
Thanks in advance!
Regards,
WillyHi friends , we are using the same model ....
Are you using the chinese version operation system ? because we can print the chinese charaters without problem in LQ 1600KIII .....
We are using CNSAPWIN device type + Frondend printing access method ....
Carlos Zhang -
Sender proxy to sap pi -chinese character
Hi experts,
I am having a scenario sender proxy to sap pi. Via the proxy , some chinese character are send into sap pi and during my sxmb_moni the receiver ( inbound message payload) is in BOXES. I tried to debug the proxy and it is sending chinese characters to sap pi but only problem when it arrives to sap PI it becomes into Boxes.
I have done researc and they have mention to use RFC Unicode. I have configured but it is the same problem into boxes.
Please help me. PLZ..Hi Mark,
Thanks a lot for your reply. Basically it is Abap proxy. Do you think it is possible to use UTF-8 or UTF16 in your XML encoding for abap proxy. I am not so good in abap proxy and it is generated by abaper. Pleae advise me if i am wrong.. -
Chinese Character cannot be decoded
hi,
I would like to implement two JSP pages. The first JSP is just a html form, which is used to submit unicoded chinese data to a target JSP file.
The target JSP file received those data and display.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> is added in the first JSP file. As a result, data will be submitted in UTF-8 format.
In target JSP, I used the following code to recieve and decode data:
<%@ page contentType="text/html; charset=UTF-8" %>
<%
String para = request.getParameter("para"); // where para is name of received parameter
byte[] bytes = para.getBytes();
para = new String(bytes, "UTF-8");
out.println("Recieved character: " + para);
%>
My Problem:
After I submitted chinese characters from the first JSP file, only some of them can be displayed on target JSP. Some of those characters are missing.
For example, when I input "�@", target JSP can display the character. On the other hand, when I input "�p", nothing is displayed. But I know that variable "bytes" stored 3 bytes for each chinese character. I would like ask why
para = new String(bytes, "UTF-8");
cannot encode properly. Is anything wrong about my coding?
ThxMore information can be provided.
OS: Windows 2000 server
web server: iPlanet
P.S. : I have set the Character set to UTF-8 in iPlanet.
thx.
hi,
I would like to implement two JSP pages. The
The first JSP is just a html form, which is used to
submit unicoded chinese data to a target JSP file.
The target JSP file received those data and
and display.
<meta http-equiv="Content-Type"
ype" content="text/html; charset=UTF-8"> is added in
the first JSP file. As a result, data will be
submitted in UTF-8 format.
In target JSP, I used the following code to
to recieve and decode data:
<%@ page contentType="text/html; charset=UTF-8"
F-8" %>
<%
String para = request.getParameter("para"); //
// where para is name of received parameter
byte[] bytes = para.getBytes();
para = new String(bytes, "UTF-8");
out.println("Recieved character: " + para);
%>
My Problem:
After I submitted chinese characters from the
m the first JSP file, only some of them can be
displayed on target JSP. Some of those characters are
missing.
For example, when I input "�@", target JSP can
P can display the character. On the other hand, when I
input "�p", nothing is displayed. But I know that
variable "bytes" stored 3 bytes for each chinese
character. I would like ask why
para = new String(bytes, "UTF-8");
cannot encode properly. Is anything wrong about my
coding?
Thx -
Is it possible to read/write Chinese character into Oracle 8i(WE8ISO8859P1) in Applet
I can display Chinese character in swing label or text field, however, when I read
the Chinese character data from (or write to) Oracle DB, it shows ??? instead. I can't
change the code page of my DB, (if use ZHT16Big5 instead of WE8Iso8859P1 as the DB page
code, than everything is OK. :< ) is there any solution for this?
Server:
DB:Oracle8i(8.1.6)with Character set: WE8ISO8859P1
System Environment:NLS_LANG=American_America.WE9ISO8859P1
OS: Win2000 Advance Server(NLS:950 Traditional Chinese)
client:
Applet (written by JDeveloper 3.2) compiled with code: ISO8859_1
JDBC Driver: Oracle JDBC Thin Driver (ver 8.1.7 or 8.1.6)
Browser: IE5.5 (with code Western Europe(ISO) or UTF-8 or Traditional Chinese...)
nullEric,
There is no good way to do this. In your ASP/ADO application I think you are creating a garbage in garbage out situation. Because the client NLS_LANG matches the DB characterset no conversion takes place. Therefore your chinese characters get inserted in the DB. But the data is really garbage.
When you use Java thin driver a conversion automatically takes place from UCS-2 -> WE8ISO8859P1. The Chinese characters in UCS-2 have no equivalent code point in WE8ISO8859P1, so you end up with replacement characters ?? -
Display Chinese Character jsp page by using UTF-8
hi all,
I have one jsp page have Chinese character, need to allow user input Chinese character into db, right now my situation is if I set <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> , the Chinese character in my jsp page I can't display correcly, but the inser is okI have to set encoding to big5, then I can't insert chinese character into my db correctly.
can I use UTF-8 to display my jsp page, which have Chinese Character in there?Thank you!Hi Niklas
thank you for the suggestion. somebody told me UTF-8 suppose work, only if you typing your Chiness character in UTF-8 formate, i don't know that is true or not, but that realy a challenge for me, I using jdbc , some time ago, and then stop, and on that period,if I got free time, I did try to learn some tutorials on struct, hibernate, like http://javaboutique.internet.com/tutorials/Struts/; http://courses.coreservlets.com/Course-Materials/struts.html
recently I need to deal with some online form , first I want to use struct, but I keep got forwad problem, I forget the detail error message, and found not place to ask questions, so , I pick jdbc again, so ,if you have some useful link in struct or a nice community for people to learn struct, I am look forward to
know that,
by the way I set *<meta http-equiv="Content-Type" content="text/html; charset=big5" /> in my jsp*
String dbURL="jdbc:mysql://localhost/survey?useBig5=true&characterEncoding=Big5"; in jdbc
keep UTF-8 setting in mysql, it looks solute the problem that I had, hope that can enhabce our knowledge in that
thank you for the help and wish good luck for future. -
Display Chinese Character in SQLPLUS
Anyone have any idea how to display a chinese character from the database? Is it possible to display from sqlplus.
nullIt is possible to display Chinese characters in SQL*Plus. The reference manual at http://www.oradoc.com/ora817/server.817/a76966/toc.htm would be a good starting place to learn more.
- CJ -
Retrieve the unicode from a chinese character stored in MS Access database
Hi,
I have a table in MS Access database with chinese character. When I read it from my sql queries I get the "?" instead of the chinese character. When I calculate the unicode I get the 003F which is the unicode for the questionmark. How do I get the correct unicode of the chinese character?
Connection conn = DriverManager.getConnection("jdbc:odbc:myDB"); Statement stmt = conn.createStatement(); String sqlString = "SELECT Char FROM MyTable WHERE id=2"; ResultSet rs = stmt.executeQuery(sqlString); String s1 = rs.getString("Char"); // the s1 is the ? instead of the chinese character. byte[] b = s1.getBytes(Charset.forName("UTF-16")); int firstByte = 0; short anUnsignedByte = 0; String unicode = ""; for(int n = 0; n < b.length; n++){ String temp = ""; firstByte = (0x000000FF & ((int)b[n])); anUnsignedByte = (short)firstByte; temp = Integer.toHexString(anUnsignedByte); if(temp.length() == 1){ temp = "0" + temp; } unicode = unicode + temp; } unicode = unicode.substring(4); System.out.println("unicode: " + unicode); //Here I get the unicode, 003f, for the question mark.Apparently getString() is already applying the wrong encoding to the bytes which are in the data, so you can't do anything with what it returns. (This isn't surprising since it's Access you are asking about.) I suggest using the getObject() method and see what it returns. If it returns the same string then you are out of luck. But maybe you'll get lucky and it will return an array of bytes containing the correct data. Don't get too hopeful though.
-
I'm not sure if this is the right place, but maybe if a mod sees this they can pass it on to Apple Developers.
Has anyone noticed stroke order for some Chinese characters in handwriting input is incorrect? I'm not sure if incorrect is the right word, but I first noticed the problem on the iPod touch and then my Macbook Pro (running Mountain Lion) as well.
For example when writing the character 性 for the radical 忄it should be the far left stroke first, then far right, and then the middle stroke, but whenever I wrote the radical this way, the first character that came up was 牜. I tried rewriting 忄several times, and more often than not the first choice was 牜. Sometimes 忄 appeared as one of the last choices, but having it not appear at all was common. I could only get 忄 after slowly and delibrately However when I wrote 忄 incorrectly (meaning far left stroke first, middle stroke next, and far right stroke last) it almost always came up as the first choice. Unless you write 性, delibrately and slowly the handwriting system seems to get confused or overwhelmed and almost always spits out 牲 as the first choice.
I guess as a suggestion, the Chinese Character Handwriting for Mountain Lion and iOS is good, but could definitely still use some work. As a comparison I have a Motorola Droid with which you can input handwritten Chinese characters. And the Droid has consistently recognized every character that I intended to write (regardless of writing speed and accuracy/clarity of said handwritten character).It would be a good idea to repost your message here for Apple to see it:
http://www.apple.com/feedback/macosx.html -
An incorrect Simplified Chinese character
hi
i found the Chinese character, "类“ on my ipod touch (4.2.1) is incorrect.
it should be "大” on the bottom of the character, but on ipod touch, it is "犬".
ps: the language of my device is English.
pps: the same character on iPad (4.2.1) is correctThe place to tell Apple about this is
http://www.apple.com/feedback/ipodtouch.html -
How can i convert jstring to PSTR with chinese character
Hi all,
I'm not an expert of C++. So please help me to fix the following problem.
I'm using jni to call the dll. In java side, the input parameter is jstring. In C++ side, the input parameter of PrintDrugReceipt are PSTR.
The following is the code of my C++:
#include <windows.h>
#include <stdio.h>
#include <jni.h>
#include "DrugReceiptWrapper.h"
#include "DrugReceipt.h"
const char * JNU_GetStringNativeChars(JNIEnv *env, jobject obj, jstring jstr) {
jbyteArray bytes = 0;
jthrowable exc;
jclass cls;
jmethodID getBytes;
char *result = 0;
if ((*env)->EnsureLocalCapacity(env, 2) < 0) {
return 0; /* out of memory error */
cls = (*env)->GetObjectClass(env, obj);
getBytes = (*env)->GetMethodID(env, cls, "getBytes","()[B");
//jbyteArray buf = (jbyteArray*)(*env)->CallObjectMethod(env, obj, jlprSourceChiName, getBytes);
bytes = (*env)->CallObjectMethod(env, jstr, getBytes);
exc = (*env)->ExceptionOccurred(env);
if (!exc) {
jint len = (*env)->GetArrayLength(env, bytes);
result = (char *)malloc(len + 1);
if (result == 0) {
//JNU_ThrowByName(env, "java/lang/OutOfMemoryError", 0);
(*env)->DeleteLocalRef(env, bytes);
return 0;
(*env)->GetByteArrayRegion(env, bytes, 0, len, (jbyte *)result);
result[len] = 0; /* NULL-terminate */
} else {
(*env)->DeleteLocalRef(env, exc);
(*env)->DeleteLocalRef(env, bytes);
return result;
JNIEXPORT jlong JNICALL
Java_TestPrint_PrintDrugReceiptWrapper(
JNIEnv *env, jobject obj,
jstring jlprPrinterPort, jstring jlprSourceChiName,
jstring jlprTargetChiName, jstring jlprPrintData1,
jstring jlprPrintData2, jstring jlprCaseNo, jstring jlprReceiptNo){
PSTR lprPrinterPort;
PSTR lprSourceChiName;
PSTR lprTargetChiName, lprPrintData1;
PSTR lprPrintData2 , lprCaseNo, lprReceiptNo;
printf("before %s", jlprSourceChiName);
lprPrinterPort = (*env)->GetStringChars(env, jlprPrinterPort , 0);
lprSourceChiName = (*env)->GetStringChars(env, jlprSourceChiName, 0);
lprTargetChiName = (*env)->GetStringChars(env, jlprTargetChiName, 0);
lprPrintData1 = (*env)->GetStringChars(env, jlprPrintData1 , 0);
lprPrintData2 = (*env)->GetStringChars(env, jlprPrintData2 , 0);
lprCaseNo = (*env)->GetStringChars(env, jlprCaseNo , 0);
lprReceiptNo = (*env)->GetStringChars(env, jlprReceiptNo , 0);
PrintDrugReceipt(lprPrinterPort, lprSourceChiName, lprTargetChiName, lprPrintData1, lprPrintData2, lprCaseNo, lprReceiptNo);
(*env)->ReleaseStringChars(env, jlprPrinterPort , lprPrinterPort);
(*env)->ReleaseStringChars(env, jlprSourceChiName, lprSourceChiName);
(*env)->ReleaseStringChars(env, jlprTargetChiName, lprTargetChiName);
(*env)->ReleaseStringChars(env, jlprPrintData1 , lprPrintData1);
(*env)->ReleaseStringChars(env, jlprPrintData2 , lprPrintData2);
(*env)->ReleaseStringChars(env, jlprCaseNo , lprCaseNo);
(*env)->ReleaseStringChars(env, jlprReceiptNo , lprReceiptNo);
return 1;
the h file:
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class TestPrint */
#ifndef _Included_TestPrint
#define _Included_TestPrint
#ifdef __cplusplus
extern "C" {
#endif
* Class: TestPrint
* Method: PrintDrugReceipt
* Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)J
JNIEXPORT jlong JNICALL Java_TestPrint_PrintDrugReceiptWrapper
(JNIEnv *, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring);
#ifdef __cplusplus
#endif
#endif
Note: the jstring input parameters are the chinese character. If i print out the jstring, it will display dirty character, why? and how to fix it? and the PrintDrugReceipt will expected accept the chinese character and print it to the printer.
Thank you for you guys help.
Matthewyou can't use char...have to use a wchar....and look around at the wide character handling function in C/C++.
-
Acrobat Reader cannot display Traditional Chinese Character correctly in 64 bit Windows 7
Hi,
I get a pdf file cannot display chinese character properly in Windows 7 64 bit but Windows XP 32 bit. I did uninstall and re-install Reader 9.4.3 and 10.0.1 with and without Traditional Fonts patch in the 64 bit machine but no luck. Does anyone have a solution for this?
Thanks in advance.I run Acrobat 9.3.3 on my Windows 7 Pro 64-bit system with no problems. Perhaps you should make sure you have all of Acrobat 9's maintenance installed.
Ken Friedman -
Data upload Vendor Master Chinese character from Excel does not upload
Hi Gurus,
We are trying to upload Vendor Master from Excel sheet.
The Chinese characters in excel sheet is not getting uploaded.
After upload, we see in SAP as ????? for these Chinese character.
Could any one inform what setting I may need to change?
Thanks and Best Regards,
MohanHi Bala,
Goto he Initial screen of SAP and click the ALT+F12 costomizating of local setup.the choose the options-->choose the I18N Tab in that POP up and check the Activate the multi byte support.
press Apply and OK.
close the SAP Log on and Re-loag on.if u r not closing the Logon screen the changes wiil not effect.
or
click on the log on SAP and choose the server name -->right click ->Properties>chose the log on language as chanies .-->Apply and Logon.
Now u can eassily Upload to the Excel in checnies language.
Thanks & REgards,
Nelson. -
GUI Download Chinese Character to Excel gibberish character
Hi Experts,
I'm facing a problem where I'm using FM gui_download to save Chinese Character into Excel file.
Upon double click to open the excel file, funny character shows up.
But if I were to open the same file using a blank Ms Excel application (Go to File->Open->choose file),
Excel will prompt me to select a proper encoding (GB2312 in this case), and the Chinese character can be seen thereafter.
But, my user doesn't want to go through this.
I've browsed through the forum and someone has posted about this before and it's unanswered.
How to download the chinese character using GUI_DOWNLOAD - unanswered
And, Re: GUI_DOWNLOAD give 2 bytes for each chinese character - I need fixed len which is not related to my problem.
Below is my code:
DATA: lv_codepage TYPE cpcodepage,
lv_char_cpage TYPE abap_encod,
lv_encoding TYPE abap_encod.
Get Code Page for Chinese Character Spras = '1' or 'ZH'
CALL FUNCTION 'NLS_GET_FRONTEND_CP'
EXPORTING
langu = '1' " Chinese Simplified Table T002
fetype = 'MS' " Manufacturer is Microsoft Table TCP05
IMPORTING
frontend_codepage = lv_codepage
EXCEPTIONS
illegal_syst_codepage = 1
no_frontend_cp_found = 2
internal_or_db_error = 3
OTHERS = 4.
Conversion c(4) = n(10)
lv_char_cpage = lv_codepage.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = p_file
filetype = 'DAT' "tried ASC and not working as well
codepage = lv_char_cpage "8404 in this case tried 8400 and same result
replacement = '#'
write_field_separator = 'X'
TABLES
data_tab = i_data_cnvr "table content
fieldnames = i_data_head "table header
Please help. Does this has something to do with utf-8 encoding?
Thank you.
Thanks,
ZY SeeHi Nitesh,
Is there a way to check the Excel codepage? Do you mean by codepage = 936 for GB2312 encoding?
Anyway, this issue is fixed. Issue is related to unicode system.
Below codes for gui_download solved the problem.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
codepage = '4103'
replacement = '#'
write_field_separator = 'X'
write_bom = 'X'
TABLES
data_tab = i_data_cnvr
fieldnames = i_data_head
Codepage = 4103 for utf-16 Unicode system.
Write-bom = 'X' to write Byte-Order-Mark.
Thanks,
ZY See
Maybe you are looking for
-
Iphone screen not working correctly Please Help!!!!
Hi all, i just returned my broken iphone for a replacement. Everything worked fine until i tested cover-flow. At first everything was fuzzy. I reset my phone and then instead of everything being fuzzy, only the color black was. I really don't want to
-
Changes done for the Site in the BCC are not reflecting in the Production
Hi, we are using ATG10.0.2 BCC, application is based on CRS10.0.2 changing the asets for a site in BCC and deployed success fullly changes are there in the BCC but those are not affecting in production In Production configuration of BCC i mapped Sour
-
hi, i got a iphone 4s in AU, but it was locked, would you like to help me to check which carrier is this? <Edited By Host>
-
Hi, I have an urgent problem: I use a planning query to input some data into an BI 7.0 system. When I execute this query with only one input-enabled column it works. If I add a second row it doesnt. The connection in Excel Business Analyzer breaks do
-
My phone hangs on 70% reboot. I wiped and re installing OS several times. It says installation sucessful but still hangs when it reboots and get to 70%. please does anyone know what i can do to it. please help me. sugesstions will be kindly apprecia