Chinese characters in url

I´ve been asked to make a chinese version of a website
but although I can create the pages using chinese characters I
can´t make the urls or folders in chinese.
eg 住宿.asp
What should I be doing ?

"drew lawson" <[email protected]> wrote in
message
news:go3g6a$p7h$[email protected]..
> I?ve been asked to make a chinese version of a website
but although
> I can create the pages using chinese characters I can?t
make the
> urls or folders in chinese.
Most websites created in Asian languages use the Roman
alphabet (ABC)
for file and folder names. However, modern browsers are now
capable of
handling URLs in Chinese characters and other scripts. As
long as your
computer supports Chinese, so does Dreamweaver (unless you're
using an
old version). If I recall correctly, all versions since
Dreamweaver 8
support Asian and other scripts.
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com

Similar Messages

  • Chinese characters are not displayed in the Firefox bookmarks

    Chinese characters are not displayed in the Firefox bookmarks. The name looks like e.g. "??????? ???? cn.nytimes.com"
    Chinese character of the site name is displayed ok in the head of the browser window and there is no problem reading chinese web content. I use Firefox Portable 11 /English from portableapps.com in Windows XP.
    I googled and got some tips:
    1) Set your browser to recognise Chinese language internet sites.
    Windows users: Under "Tools - Options" on your browser's menu-bar add Chinese to the languages list.
    - I did this.
    2) Set your browser's "Character Set" or "Encoding" to UTF-8 (sometimes also called Universal Alphabet or Unicode).
    Encoding settings can be changed under the "View" option in your browser's menu-bar.
    - It was already set to UTF-8.
    3) Windows users: If Chinese text still does not display correctly, East Asian language support may need to be enabled.
    - This has been done when I installed Windows.
    I still don't get any Chinese fonts in the bookmark names. I can edit the bookmark name with chinese characters and then save the bookmark, it works fine. But why does not Firefox recognize the characters when saving bookmarks? Help is appreciated.

    No I didn't change anything deep beneath the hood. My problem didn't apply to the URL, but to the name of the link or bookmark header or whatever you would like to call it. (When hitting Ctrl + D there is a Name field). I only got ???????? instead of chinese characters in the name. Also for e.g. www.cntv.cn ...but maybe all China is not in the whitelist either. ;-) But anyway, this was not the real problem for me.
    Apparently I was wrong as after a reboot of the computer it worked. The solution seemed to be to add Chinese to the language list. I don't know why it was not enough to restart Firefox?
    Now I only have problems to show chinese characters in the name field of my external link manager... But I guess it is not an issue for Mozilla.

  • Using chinese characters in struts-config.xml

    Hi
    i am developing an application in Chinese language where i need to create all the urls in the Chinese language. i am using struts 1.3.5.can anyone tell me is it possible to use Chinese characters in struts-config.xml action mappings? i tried but it is not working. is there ant way really?
    Regards,
    A.

    Don't know about struts specifically, but for Chinese URLs to work you would need to convert to punycode at some point, to comply with IDNA: http://en.wikipedia.org/wiki/Punycode
    Are you doing that?

  • Nonlatin characters in URLs;NTFS Invalid or incomplete multibyte error

    I'm testing with a file called "柯有伦-零.mp3", which contains Chinese characters. (Maybe your browser won't show it correctly, and the font might be crappy...)
    Well, here's a screenshot of the correct filename:
    My locale: en_US.utf8
    Downloader I tested with: wget, aria2c
    Target filesystem I tested with: ext4, ntfs
    I find it strange the same filename has two forms in two urls:
    %BF%C2%D3%D0%C2%D7-%C1%E3.mp3
    %E6%9F%AF%E6%9C%89%E4%BC%A6-%E9%9B%B6.mp3
    I don't know why... Must have something to do with character set/encoding. Somebody explain this to me please.
    ---------------------------------------------experiment--with--wget--------------------------------------------------
    wget "%BF%C2%D3%D0%C2%D7-%C1%E3.mp3" to ext4 partition:
    $ wget 'http://down.jsharer.com/user/userAction.do?method=download&urlpath=ftp://-552790109:[email protected]:2022/22487/200908/%BF%C2%D3%D0%C2%D7-%C1%E3.mp3'
    --2009-08-25 12:17:41-- http://down.jsharer.com/user/userAction.do?method=download&urlpath=ftp://-552790109:[email protected]:2022/22487/200908/%BF%C2%D3%D0%C2%D7-%C1%E3.mp3
    Resolving down.jsharer.com... 222.73.163.168
    Connecting to down.jsharer.com|222.73.163.168|:80... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: ftp://-552790109:[email protected]:2022/22487/200908/%BF%C2%D3%D0%C2%D7-%C1%E3.mp3 [following]
    --2009-08-25 12:17:41-- ftp://-552790109:*password*@58.215.91.170:2022/22487/200908/%BF%C2%D3%D0%C2%D7-%C1%E3.mp3
    => `¿ÂÓÐÂ×-Áã.mp3'
    Connecting to 58.215.91.170:2022... connected.
    Logging in as -552790109 ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD /22487/200908 ... done.
    ==> SIZE \277\302\323\320\302\327-\301\343.mp3 ... 5211995
    ==> PASV ... done. ==> RETR \277\302\323\320\302\327-\301\343.mp3 ... done.
    Length: 5211995 (5.0M)
    100%[=====================================================>] 5,211,995 89.1K/s in 56s
    2009-08-25 12:18:37 (91.2 KB/s) - `¿ÂÓÐÂ×-Áã.mp3' saved [5211995]
    wget "%BF%C2%D3%D0%C2%D7-%C1%E3.mp3" to ntfs partition:
    $ wget 'http://down.jsharer.com/user/userAction.do?method=download&urlpath=ftp://1368144520:[email protected]:2022/41161/200908/%BF%C2%D3%D0%C2%D7-%C1%E3.mp3'
    --2009-08-25 12:26:29-- http://down.jsharer.com/user/userAction.do?method=download&urlpath=ftp://1368144520:[email protected]:2022/41161/200908/%BF%C2%D3%D0%C2%D7-%C1%E3.mp3
    Resolving down.jsharer.com... 222.73.163.168
    Connecting to down.jsharer.com|222.73.163.168|:80... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: ftp://1368144520:[email protected]:2022/41161/200908/%BF%C2%D3%D0%C2%D7-%C1%E3.mp3 [following]
    --2009-08-25 12:26:29-- ftp://1368144520:*password*@58.215.91.170:2022/41161/200908/%BF%C2%D3%D0%C2%D7-%C1%E3.mp3
    => `¿ÂÓÐÂ×-Áã.mp3'
    Connecting to 58.215.91.170:2022... connected.
    Logging in as 1368144520 ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD /41161/200908 ... done.
    ==> SIZE \277\302\323\320\302\327-\301\343.mp3 ... 5211995
    ==> PASV ... done. ==> RETR \277\302\323\320\302\327-\301\343.mp3 ... done.
    ¿ÂÓÐÂ×-Áã.mp3: Invalid or incomplete multibyte or wide character
    wget  "%E6%9F%AF%E6%9C%89%E4%BC%A6-%E9%9B%B6.mp3" to ext4 partition:
    $ wget 'http://mp3.tktt.com/eec38e543bc6c0e4/15/%E6%9F%AF%E6%9C%89%E4%BC%A6-%E9%9B%B6.mp3'
    --2009-08-25 12:29:59-- http://mp3.tktt.com/eec38e543bc6c0e4/15/%E6%9F%AF%E6%9C%89%E4%BC%A6-%E9%9B%B6.mp3
    Resolving mp3.tktt.com... 58.215.81.44
    Connecting to mp3.tktt.com|58.215.81.44|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 126229 (123K) [audio/x-ms-wma]
    Saving to: `æ%9F¯æ%9C%89伦-é%9B¶.mp3'
    100%[=====================================================>] 126,229 129K/s in 1.0s
    2009-08-25 12:30:03 (129 KB/s) - `æ%9F¯æ%9C%89伦-é%9B¶.mp3' saved [126229/126229]
    wget "%E6%9F%AF%E6%9C%89%E4%BC%A6-%E9%9B%B6.mp3" to ntfs partition:
    $ wget 'http://mp3.tktt.com/eec38e543bc6c0e4/15/%E6%9F%AF%E6%9C%89%E4%BC%A6-%E9%9B%B6.mp3'
    --2009-08-25 12:37:30-- http://mp3.tktt.com/eec38e543bc6c0e4/15/%E6%9F%AF%E6%9C%89%E4%BC%A6-%E9%9B%B6.mp3
    Resolving mp3.tktt.com... 58.215.81.44
    Connecting to mp3.tktt.com|58.215.81.44|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 126229 (123K) [audio/x-ms-wma]
    æ%9F¯æ%9C%89伦-é%9B¶.mp3: Invalid or incomplete multibyte or wide character
    Cannot write to `æ%9F¯æ%9C%89伦-é%9B¶.mp3' (Invalid or incomplete multibyte or wide character).
    ---------------------------------------------let's--try--with--aria2c--------------------------------------------------
    aria2c "%BF%C2%D3%D0%C2%D7-%C1%E3.mp3" to ext4 partition:
    $ aria2c 'http://down.jsharer.com/user/userAction.do?method=download&urlpath=ftp://1368144520:[email protected]:2022/41161/200908/%BF%C2%D3%D0%C2%D7-%C1%E3.mp3'
    2009-08-25 12:47:52.079592 NOTICE - #1 - Download has already completed: /home/canti/Desktop/¿ÂÓÐÂ×-Áã.mp3
    2009-08-25 12:47:52.080014 NOTICE - Download complete: /home/canti/Desktop/¿ÂÓÐÂ×-Áã.mp3
    Download Results:
    gid|stat|avg speed |path/URI
    ===+====+===========+===========================================================
    1| OK| n/a|/home/canti/Desktop/¿ÂÓÐÂ×-Áã.mp3
    Status Legend:
    (OK):download completed.
    aria2c "%BF%C2%D3%D0%C2%D7-%C1%E3.mp3" to ntfs partition:
    $ aria2c 'http://down.jsharer.com/user/userAction.do?method=download&urlpath=ftp://1368144520:[email protected]:2022/41161/200908/%BF%C2%D3%D0%C2%D7-%C1%E3.mp3'
    [#1 SIZE:0B/0B CN:1 SPD:0Bs]
    2009-08-25 12:46:06.942979 ERROR - Exception caught
    Exception: [RequestGroup.cc:528] Download aborted.
    -> [AbstractDiskWriter.cc:115] Failed to open the file /media/20G/¿ÂÓÐÂ×-Áã.mp3, cause: Invalid or incomplete multibyte or wide character
    Download Results:
    gid|stat|avg speed |path/URI
    ===+====+===========+===========================================================
    1| ERR| n/a|/media/20G/¿ÂÓÐÂ×-Áã.mp3
    Status Legend:
    (ERR):error occurred.
    aria2 will resume download if the transfer is restarted.
    If there are any errors, then see the log file. See '-l' option in help/man page for details.
    aria2c "%E6%9F%AF%E6%9C%89%E4%BC%A6-%E9%9B%B6.mp3" to ext4 partition:
    $ aria2c 'http://mp3.tktt.com/eec38e543bc6c0e4/15/%E6%9F%AF%E6%9C%89%E4%BC%A6-%E9%9B%B6.mp3'
    [#1 SIZE:96.0KiB/123.2KiB(77%) CN:1 SPD:135.1KiBs]
    2009-08-25 12:30:17.753443 NOTICE - Download complete: /home/canti/Desktop/柯有伦-零.mp3
    Download Results:
    gid|stat|avg speed |path/URI
    ===+====+===========+===========================================================
    1| OK| 136.0KiB/s|/home/canti/Desktop/柯有伦-零.mp3
    Status Legend:
    (OK):download completed.
    aria2c "%E6%9F%AF%E6%9C%89%E4%BC%A6-%E9%9B%B6.mp3" to ntfs partition:
    $ aria2c 'http://mp3.tktt.com/eec38e543bc6c0e4/15/%E6%9F%AF%E6%9C%89%E4%BC%A6-%E9%9B%B6.mp3'
    [#1 SIZE:0B/123.2KiB(0%) CN:1 SPD:0Bs]
    2009-08-25 12:42:14.735797 NOTICE - Download complete: /media/20G/柯有伦-零.mp3
    Download Results:
    gid|stat|avg speed |path/URI
    ===+====+===========+===========================================================
    1| OK| 20.0MiB/s|/media/20G/柯有伦-零.mp3
    Status Legend:
    (OK):download completed.
    So I'm asking:
    1. Why is '%E6%9F%AF%E6%9C%89%E4%BC%A6-%E9%9B%B6.mp3' interpreted correctly by aria2c but not with wget?
    2. Why is '%BF%C2%D3%D0%C2%D7-%C1%E3.mp3' interpreted to '¿ÂÓÐÂ×-Áã.mp3' by aria2c and wget both?
    3. Can I tune aria2c/wget to get those characters interpreted right? I have some experience with FTP clients such as filezilla and gftp, they both have a charset option for correctly displaying filenames from servers that has a encoding other than utf-8.
    4. Despite wget/aria2c both get the '%BF%C2%D3%D0%C2%D7-%C1%E3.mp3' interpreted wrong, they are able to write a file called '¿ÂÓÐÂ×-Áã.mp3' to EXT4 partitions. But they can't do this to NTFS partitions. (PcManFM can display Chinese/Japnese filenames on NTFS partitions correctly. Just to point it out.) How can I tune ntfs-3g's options to fix this?
    5. What I asked in the beginning, why does the same filename has two versions in two URLs?
    Last edited by lolilolicon (2009-08-25 05:33:18)

    That was a nice little oversight on my part --not checking the utf-8 charset.
    I experimented a little bit. I tried your link to downoad the file with wget; of course it doesn't work for me. Does the use of the wget option --restrict-file-names=nocontrol help? That option stops the incorrect interpretation of control characters.
    For a download example, here's a Russian language Wikipedia page,  http://ru.wikipedia.org/wiki/%D0%97%D0% … 1%86%D0%B0
    Without --restrict-file-names=nocontrol
    $ wget http://ru.wikipedia.org/wiki/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0
    --2009-08-27 06:11:35-- http://ru.wikipedia.org/wiki/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0
    Length: 77305 (75K) [text/html]
    Saving to: `Ð%97аглавнаÑ%8F_Ñ%81Ñ%82Ñ%80аниÑ%86а'
    2009-08-27 06:11:36 (292 KB/s) - `Ð%97аглавнаÑ%8F_Ñ%81Ñ%82Ñ%80аниÑ%86а' saved [77305/77305]
    With --restrict-file-names=nocontrol
    $ wget --restrict-file-names=nocontrol http://ru.wikipedia.org/wiki/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0
    --2009-08-27 06:12:37-- http://ru.wikipedia.org/wiki/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0
    Length: 77304 (75K) [text/html]
    Saving to: `Заглавная_страница'
    2009-08-27 06:12:37 (291 KB/s) - `Заглавная_страница' saved [77304/77304]
    Wget also has the --header option. The man page gives an example that might be useful.
    I'm still looking at the ntfs problem.
    Last edited by thisoldman (2009-08-27 11:11:49)

  • INSERTing chinese characters in SQL*plus

    Db version: 10gR2
    NLS_NCHAR_CHARACTERSET for my DB is AL16UTF16 by which i can store chinese characters. To INSERT using SQL*Plus, i tried to copy and paste some chinese characters from internet. When the characters get pasted, it becomes '?????' (question marks). What else do i have to set to store Chinese characters?
    SQL>  CREATE TABLE EMP2
      2   (EMPNO NUMBER,
      3   ENAME NVARCHAR2(500));
    Table created.
    SQL> Insert into emp2(empno,ename) values(889,UNISTR('????'));
    1 row created.
    SQL> COMMIT;
    Commit complete.
    SQL> SELECT * FROM EMP2;
         EMPNO ENAME
           889 ????

    Actually, it looks like Forums do something strange to URLs pasted into posts. Sorry!
    The thread URL is Re: store/retrieve data in lang other than eng when CHARACTERSET is not UTF8

  • Pls help.JSP: I could not store Chinese characters into files.

    Hi experts,
    I have this problem of cant store chinese characters into files(eg. .txt and .properties). I am adding
    these chinese text through a JSP website form....After i key in chinese characters in the textboxes
    in the website and sumbit the results, my chinese characters turned into ASCII or rather garbage in
    the files.
    Is there any way i can get the exact chinese characters i entered in the webite into the files?
    Need urgent assistance here.
    Thanks
    <%@ page contentType="text/html; charset=big5" %>
    <html>
    <head>
    <title>Confirmation</title>
    <meta http-equiv="Content-Type" content="text/html; charset=big5">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    </head>
    <%@ page language="java"%>
    <%@ page import="java.io.*"%>
    <%@ page import="java.lang.Integer.*"%>
    <%@ page import="java.sql.*"%>
    <%@ page import="java.sql.ResultSet.*"%>
    <%@ page import="javax.servlet.*"%>
    <%@ page import="javax.servlet.http.*"%>
    <%@ page import="java.text.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.net.URL"%>
    <%
    //getting attributes from previous page form
    //At this point, chinese characters r retrieved
    //Ascii/garbage displayed for text when retrieved from previous page.
    String gameName=request.getParameter("name");
    String encode=request.getParameter("encode");
    String gameType=request.getParameter("type");
    String info=request.getParameter("description");
    int check=0;
    int nextGameID;
    String temp="";
    String langCode="";
    //establish connection
    Connection con = null;
    try {
    Class.forName("org.postgresql.Driver");
    con = DriverManager.getConnection("jdbc:postgresql://172.20.134.110:5432/smsINTFET" , "postgres",
    "postgres");
    catch(ClassNotFoundException e) {
    out.println("Could not load the driver: "+e.getMessage());
    catch(SQLException e) {
    out.println("SQLException caught in relax db: "+ e.getMessage());
    Statement stmt = null;
    ResultSet rs = null;
    ResultSet ps = null;
    String strSQL = "";
    String strSQL2 = "";
    String tempCat = "";
    strSQL="SELECT gamename FROM cp_games order by gameid;";
    try {
    stmt = con.createStatement();
    rs = stmt.executeQuery(strSQL);
    stmt.close();
    catch(SQLException e) {
    out.println("SQLException caught: "+ e.getMessage());
    while(rs.next())
    check=0;
    temp=rs.getString("gamename");
    if(temp.equalsIgnoreCase(gameName))
    // there is similar record in database
    check=1;
    break;
    else
    check=0;
    if(check==0)
    %>
    <body background="button/bkgd.jpg" bgproperties="fixed">
    <p><b><font size="30pts" face="Monotype Corsiva">Confirmation</font></b></p>
    <HR style="WIDTH: 500px; COLOR: blue; HEIGHT: 3px">
    The following information has been added.
    <table width="75%" border="0" cellspacing="0" cellpadding="2">
    <%
    String strCat="";
    strCat="INSERT INTO cp_games(gamename,description,encode) values('"+gameName+"','"+info+"','"+encode+"');";
    stmt = con.createStatement();
    stmt.executeUpdate(strCat);
    System.out.println("Successful inserted category");
    stmt.close();
    //setting language
    if(encode.equals("ascii"))
    langCode = "US";
    if(encode.equals("ms950"))
    langCode = "TW";
    if(encode.equals("ms936"))
    langCode = "CN";
    strSQL2="SELECT gameid FROM cp_games where gamename = '"+gameName+"';";
    try {
    stmt = con.createStatement();
    ps = stmt.executeQuery(strSQL2);
    stmt.close();
    catch(SQLException e) {
    out.println("SQLException caught: "+ e.getMessage());
    ps.next();
    nextGameID=ps.getInt("gameid");
    out.println("<B>The game number : </B>" + nextGameID);
    %>
    <tr>
    <td><B>Game added: </B><%=gameName%>
    </td>
    </tr>
    </table>
    <%
    String newFile="G:\\home\\smsGamesINTV2\\colorGame\\propertiesFiles\\FET\\CP_Game"+nextGameID+"_"+encode+"_"+langCode+".properties";
    try
    {               //begin file
    PrintWriter outFile=null;
    //create a new file and write the initial settings to file
    outFile=new PrintWriter(new FileOutputStream(newFile,true));
    outFile.println("game_intro="+nextGameID+")"+gameName+" - "+info);
    outFile.println("");
    outFile.println("game_title="+gameName);
    outFile.println("");
    outFile.println("game_type="+gameType);
    outFile.println("");
    outFile.println("qns_no=0");
    outFile.println("");
    outFile.println("ana_no=0");
    outFile.close();
    }//end file
    catch(IOException e)
    out.println("File Create Error");
    else // no match found
    out.println("Game,"+temp+ " already added");
    %>
    </body>
    </html>

    try to add this code under this line:
    <%@ page contentType="text/html; charset=big5" %>
    <% response.setContentType("text/html; charset=big5"); %>
    I have faced the problem like yours and it works fine for me. Try and see.

  • How to insert chinese characters in a table use FDK?

    Hello~~
    I am expecting to insert chinese characters in an XML file's table.
    I'm using FDK7.2,  if i use:
    F_ApiAddText(docId, &tRange.beg, "asdf");
    The English letters "asdf" can be insert correctly in the right place,
    But,  if insert chinese characters like this:
    F_ApiAddText(docId, &tRange.beg, "人们");
    No characters insert.
    How can i solve this problem?
    Please advise
    Thanks
    zhaopeng

    Zhaopeng,
    Which encoding are you using for the Chinese characters? FrameMaker 7.2 does not support Unicode or UTF-8. I have not done this before, but I guess you need to supply the characters in Big5 resp. GBK encoding, see
    http://help.adobe.com/en_US/FrameMaker/8.0/chinese_korean.pdf
    [Ignore the 8.0 in the URL, the document talks about FrameMaker 7]
    You also may have to make sure the paragraph format at your text location uses a Chinese font before inserting characters.
    - Michael

  • Problems displaying Chinese characters

    Safari cannot display Chinese characters from time to time. It would work in one session but it failed to display Chinese characters in another session even with the same settings in the Preferences. Can anyone give me some advice please?

    Safari cannot display Chinese characters from time to
    time. It would work in one session but it failed to
    display Chinese characters in another session even
    with the same settings in the Preferences. Can
    anyone give me some advice please?
    The preferences don't necessarily matter. You most likely need to adjust the encoding in View > Text Encoding. If you will provide the url of an example page where you have a problem I can probably offer more specific help.

  • Can't Sync Chinese Characters with PocketMac SyncManager - BIG BUGS

    My 8100 device is Chinese enabled.
    When I sync my contacts to my Mac, whichever contact contains Chinese Characters in any field can't be sync. Furthermore, SyncManager even delete my contacts with Chinese Characters in both device and Mac. 
    Please advice.
    Thx! =) 

    Hi!
    Oh, I'm sorry you are experiencing that. I am checking into this, because I was under the impression that PocketMac DID support them. Have you already worked directly with our support team?  (URL below).   
    Have a great day!
    Anne M.
    PocketMac Team
    Direct support available for PocketMac for BlackBerry FREE at http://tinyurl.com/RIMsupport

  • Issues with Chinese characters via HTTPRequest

    We have the below scenario:
    http --> PI --> IDOC
    Before the message arrives to PI we do the conection with the below code:
    String urlString  = WDConfiguration.getConfiguration("local/AIB_PAD").getStringEntry("HTTPURL");
         java.net.URL url = new java.net.URL(urlString);
         HttpURLConnection connection = (HttpURLConnection)url.openConnection();
         connection.setDoInput(true);
         connection.setDoOutput(true);
         connection.setUseCaches(true);
         connection.setRequestMethod("POST");
         connection.connect(); //(http connection is made)
    this conection transform all chinese characters to  "?" 
    Does anybody knows what is missing to receive the chinese characters to PI correctly?
    Thanks.
    Edited by: Israel Toledo on Sep 29, 2011 1:27 AM

    Hi Mark,
    Thanks for your answer.
    We are sure that both systems support chinese characters, because when we see the outbound XML generated on the source system(JAVA SAP Portal) it looks good. Also, when we send an XML to PI via HTTP client using Java script, it works good.
    The issue is when we make the connection to PI. I thing some parameter is missing. could be the text code (UTF, unicode), but we are not sure how to change that in the Java code.

  • Copy/Paste Bug (Chinese Characters Added)

    Hi everyone,
    I'm not sure what is going on but recently, when I copy/paste something on my MacBook Pro, running the latest Mavericks, it sometimes appends some weird Chinese characters at the end of it. It will only show up sometimes and only in certain programs (such as copying URLs).
    This worries me very much for some obvious reasons. I don't have Chinese enabled, the characters are not always the same, and I have absolutely no idea why it is doing this.
    Any suggestions? Is this some weird but known bug? Am I the victim of some sort of spyware? Any suggestions as to what I should use to try to track this down? A quick google search turned nothing up.
    I would demonstrate the bug here but it isn't currently reproducing the problem. As I said earlier: It's rather intermittent.
    Any help or suggestions would really help me out.
    Thanks.

    I doubt anyone can help without a screen shot of what you are seeing.  Come back when you have one.  In the meantime I would not worry, it is most likely some kind of encoding glitch.  You don't have to "enable" a language to have it displayed on your screen, OS X automatically does that.

  • How to configure my Firefox thus allowing me to input Chinese characters into the search box by using PenPower writing pad while this problem doesn't exist when I am using Internet Explorer?

    I am using the electronic writing pad made by PENPOWER Inc. to input Chinese characters onto my PC programs (e.g. Winword, Internet Explorer, Excel, etc.) But I can not make it happened on Firefox, please advice what I have to do with the configuration of the Firefox or using any other method to make it work. Thanking you guys in advance for helping me to solve this problem.

    cor-el,
    Thank you very much for your advice. The new software of Penpower works rightaway after I installed it on my pc. Thanks again.
    十分感激你的幫忙!

  • Arabic and Chinese characters are showing ??? in PDF

    Hi
    I hava an application which calls BI publisher API to generate PDF file from rtf temlate and xml input. It is fine for English contents. But the Arabic or Chinese characters are showing ??? in PDF. If I use BI publisher Desktop to load the xml and generate pdf file, it shows correct Arabic/Chinese Characters in PDF. I also copied ALBANWTJ.ttf file to my application JAVA_HOME/jre/lib/fonts/ folder. But it still doesn't work. Anyone can help me with this?
    Thanks a lot!

    I created xdo.cfg and put it in my JAVA_HOME/jre/lib/ folder. the file is configured as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <properties>
    <property name="system-temp-dir">/tmp</property>
    </properties>
    <fonts>
    <font family="Default" style="normal" weight="normal">
    <truetype path="/fonts/ALBANWTJ.ttf"/>
    </font>
    </fonts>
    </config>
    But now I'm getting this error while generating pdf file:
    Adobe Reader could not open 'xxx.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    Is there anything wrong in my xdo.cfg?
    Thanks!

  • Chinese characters scrambled when loading from DS to BW

    Hi, I've been pulling my hair out with this issue.
    I have a flat file containing Chinese text. When I load this in BW using 'FLATFILE' as a source system, it works fine. BW shows the correct Chinese characters.
    When I do the same load using BODI, I get funny characters.
    When I use BODI to load from one flat file into another flat file, the Chinese characters remain correct.
    What do I need to do to make sure I get the right Chinese characters in BW when loading from BODI?
    BODI is installed on Unix on Oracle 10.
    I run the jobs as batch processes.
    The dsconfig.txt has got:
    AL_Engine=<default>_<default>.<default>
    There are no locale settings in al_env.sh
    BW target is UTF-8 codepage.
    File codepage is BIG5-HKSCS
    BODI is set up as a Unicode system in SAP BW.
    When loading flat file to flat file, I get a message:
    DATAFLOW: The specified locale <eng_gb.iso-8859-1> has been coerced to <Unicode (UTF-16)
    because the datastore <TWIN_FF_CUSTOMER_LOCAL> obtains data in <BIG5-HKSCS> codepage.
    JOB: Initializing transcoder for datastore <TWIN_FF_CUSTOMER_LOCAL> to transcode between
    engine codepage<Unicode (UTF-16)>  and datastore codepage <BIG5-HKSCS>
    When loading to BW the messages are almost the same, but now the last step in UTF-16 to UTF-8.
    I read the wiki post which definitely helped me to understand the rationale behind code page, but now I ran out of ideas what else to check ( http://wiki.sdn.sap.com/wiki/display/BOBJ/Multiple+Codepages )
    Any help would be greatly appreciated.
    Jan.

    Hi all. Thanks for the Inputs. This is what I got when I clicked on the Details Tab of the Monitor....
    Error when transferring data; communication error when analyzing
    Diagnosis
    Data packages or InfoPackages are missing in BI but there were no apparent processing errors in the source system. It is therefore probable that there was an error in the data transfer.
    The analysis tried to read the ALE outbox of the source system. This lead to error .
    It is possible that there is no connection to the source system.
    Procedure
    Check the TRFC overview in the source system.
    Check the connection to the source system for errors and check the authorizations and profiles of the remote user in both the BI and source systems.
    Check th ALE outbox of the source system for IDocs that have not been updated.

  • Report Generation Toolkit using Chinese Characters

    I am trying to use the Report Generation Toolkit for Microsoft Office under LabVIEW 8.0.  I would like to use Chinese characters for the headings of the columns using a 2D array of the headings and the Excel Easy Table.  When I generate the report, the text of the headings appears to be jumbled and not encoding correctly.
    For example:
    仪器编号 becomes êNhV÷S
    采前初重(g) becomes Ç‘MRRÍ‘ÿg
    Any insights here? Thanks

    Hi,
    what you describe reminded me of a bug fix in the Report Generation Toolkit 2012 :
    339092
    Using the "Append Table to Report" VI to add strings of Cyrillic font to a table in an MS Word report results in gibberish being added to the report.
    http://digital.ni.com/public.nsf/allkb/09D6DE5170B3C0BD86257A2B004CFD20
    I know that Cyrillic and Chinese characters are different but they are often confronted to the same problems...
    Aurelie

Maybe you are looking for

  • Unable to Scan in Adobe 6 or 7

    I have a high speed scanner connected to a PC and anytime I attempt to scan a document in to Adobe, I get an error message stating "Unkown system error in call to startscan". I have tried multiple version of Adobe with no luck. I know it is a setting

  • Add image to iPhoto library doesn't open IPhoto screen

    OS 10.4.10 Ibook G4 1.5 GB Ram iPhoto 5.0.4 Hi, When I want to capture a picture, whether from the web or elsewhere, I usually press control-click and a pop down window appears with various choices, one of which is "Add image to iPhoto library". Ordi

  • Is it possible for text to span over two column?

    Gurus, I have a two column document and my Chapter/Book title has to be place center on page over the two column and the paragraph underneath is to be place in each column, i want to used only one text frame for all the text, can i span the Chapter t

  • New elements in Hierarchy

    Hi, In OBIEE, In Real time, the Dimensional hierarchy we are giving **No. of Elements in BMM Layer as No. of rows in physical layer*. Then in real time how the No. of elements can vary?

  • Mysql instance

    I have somehow locked myself out of being able to connect to the mysql 5 server using mysql administrator. Error: Could not connect to MySql instance at localhost. Error: Access denied for user 'root'@localhost I tried Navicat and that also does not