Problems with Filenames with Chinese Characters

I seem to have problems with filenames with 2-byte characters like Chinese, Japanese and Korean in various apps. The problems occur when i download chinese music and import into iTunes :
1. Torrent ( and all other ) files with 2-byte characters filename become junk characters in Finder after download from Safari.
2. Music files created/downloaded by uTorrent displays 2-byte characters correctly in Finder.
3. These downloaded music files when imported into iTunes becomes junk characters.
4. Let say I wish to have a list of all filenames from (2). I do a ls -R > abc.txt in Terminal. abc.txt displays the filenames correctly in vi. However they become junk characters again when view using TextEdit.
I've selected Chinese, Japanese, Korean in International setting. This is not about input method, just want to get the filenames correct in Finder and iTunes. Any advice is appreciated.

3. These downloaded music files when imported into iTunes becomes junk characters.
The ID 3 tags need to be in Unicode.
http://homepage.mac.com/thgewecke/mlingos9.html#itunes
4. they become junk characters again when view using TextEdit.
TextEdit needs to be set to the correct encoding, it's not automatic.

Similar Messages

  • Problem crawling filenames with national characters

    Hi
    I have a big problem with filenames containing national (danish) characters.
    The documents gets an entry in in wk$url but have error code 404 (Not found).
    I'm running Oracle RDBMS 9.2.0.1 on Redhat Advanced Server 2.1. The
    filesystem is mounted on the oracle server using NFS.
    I configure the Ultrasearch to crawl the specific directory containing
    several files, two of which contains national characters in their
    filenames. (ls -l)
    <..>
    -rw-rw-r-- 1 user group 13 Oct 4 13:36 crawlertest_linux_2_fxeFXE.txt
    -rw-rw-r-- 1 user group 19968 Oct 4 13:36 crawlertest_windows_fxeFXE.doc
    <..>
    (Since the preview function is not working in my Mozilla browser, I'm
    unable to tell whether or not the national characters will display
    properly in this post. But they represent lower and upper cases of the
    three special danish characters.)
    In the crawler log the following entries are added:
    <..>
    file://localhost/<DIR_PATH>/crawlertest_linux_2_B|C?C%C?C?.txt
    file://localhost/<DIR_PATH>/crawlertest_linux_2_B|C?C%C?C?.txt
    Processing file://localhost/<DIR_PATH>/crawlertest_linux_2_%e6%f8%e5%c6%d8%c5.txt
    WKG-30008: file://localhost/<DIR_PATH>/crawlertest_linux_2_%e6%f8%e5%c6%d8%c5.txt: Not found
    <..>
    file://localhost/<DIR_PATH>/crawlertest_windows_B|C?C%C?C?.doc
    file://localhost/<DIR_PATH>/crawlertest_windows_B|C?C%C?C?.doc
    Processing file://localhost/<DIR_PATH>/crawlertest_windows_%e6%f8%e5%c6%d8%c5.doc
    WKG-30008:
    file://localhost/<DIR_PATH>/crawlertest_windows_%e6%f8%e5%c6%d8%c5.doc:
    Not found
    <..>
    The 'file://' entries looks somewhat UTF encoded to me (some chars are
    missing because they are not printable) and the others looks URL
    encoded.
    All other files in the directory seems to process just fine!.
    In the wk$url table the following entries are added:
    (select status url from wk$url where url like '%crawlertest%'; )
    404 file://localhost/<DIR_PATH>/crawlertest_linux_2_%e6%f8%e5%c6%d8%c5.txt
    404 file://localhost/<DIR_PATH>/crawlertest_windows_%e6%f8%e5%c6%d8%c5.doc
    Just for testing purpose a
    SELECT utl_url.unescape('%e6%f8%e5%c6%d8%c5') from dual;
    Actually produce the expected resulat : fxeFXE
    To me this indicates that the actual filesystem scanning part of the
    crawler can sees the files, but the processing part of the crawler can
    not open the file for reading and it therefor fails with error 404.
    Since the crawler (to my knowledge is written in Java i did some
    experiments, with the following Java program.
    import java.io.*;
    class filetest {
    public static void main(String args[]) throws Exception {
    try {
    String dirname = "<DIR_PATH>";
    File dir = new File(dirname);
    File[] fs = dir.listFiles();
    for(int idx = 0; idx < fs.length; idx++) {
    if(fs[idx].canRead()) {
    System.out.print("Can Read: ");
    } else {
    System.out.print("Can NOT Read: ");
    System.out.println(fs[idx]);
    } catch(Exception e) {
    e.printStackTrace();
    The performance of this program is very depending on the language
    settings of the current shell (under Linux). If LC_ALL is set to "C"
    (which is a common default) the program can only read files with
    filenames NOT containing national characters (Just as the Ultrasearch
    crawler). If LC_ALL is set to e.g. "en_US", then it is capable of
    reading all the files.
    I therefor tried to set the LC_ALL environment for the oracle user on
    my oracle server (using locale_config, and .bash_profile) but that did
    not seem to fix the problem at hand.
    So (finally) my question is; is this a bug in the Ultrasearch crawler
    or simply a mis configuration of my execution environment. If the
    latter how do i configure my system correctly?
    Yours sincerely
    Martin Dahl Pedersen, Visanti ( mdp at visanti dot com )

    I've posted my problems as a TAR on METALINK a little week ago.
    And it turns out to be a new bug in UltraSearch.
    It is now filed under BUG:2673282
    -- mdp

  • Error in opening a file with name in chinese characters with Runtime.exec

    The issue at hand is when I try to open a file with file name containing chinese characters in a localized environment in Windows through the following java code:
    Runtime.exec("rundll32 SHELL32.DLL,ShellExec_RunDLL {File_With_FileName_containing_Chinese_character}");
    the following error is thrown by windows.
    Cannot open file "C:\??.txt".
    with the exception
    java.io.IOException: CreateProcess: [Ljava.lang.String;@f5da06 error=2
            at java.lang.Win32Process.create(Native Method)
            at java.lang.Win32Process.<init>(Win32Process.java:66)
            at java.lang.Runtime.execInternal(Native Method)
            at java.lang.Runtime.exec(Runtime.java:566)
            at java.lang.Runtime.exec(Runtime.java:428)
            at java.lang.Runtime.exec(Runtime.java:364)
            at java.lang.Runtime.exec(Runtime.java:326)
            at Launcher.main(Launcher.java:26)
    When I try to use the same command (shown below) from the Windows Run command, the file opens sucessfully
    rundll32 SHELL32.DLL,ShellExec_RunDLL {File_With_FileName_containing_Chinese_character}
    Please suggest.
    Thanks in advance

    This may be a file association problem.  To solve that:
    In Windows 7:
    1. Right-click the file,
    2. Select "Open With" 
    select [Your Program Here]
    3. Check always use this program. 
    In Windows XP:
    1. Locate the file as you have described above
    2. Right click the file
    3. Select Open with from the pop-up menu
    4. Click Choose default program…
    5. Select Excel in the Recommended Programs box
    6. Check Always use the selected program to open this kind of file
    7. Click on OK.
    1.  Make Excel not available from Office 2007 listed under Programs and Features in Control Panel.
    2. Take a registry backup using the steps given here
    3. In the registry editor window expand HKEY_CLASSES_ROOT and navigate to .xls right and delete it.
    4. Exit Registry Editor
    5. Undo Step 1 to make Excel available.
    6.  Restart the computer and verify it the issue is fixed.
    If this answer solves your problem, please check Mark as Answered. If this answer helps, please click the Vote as Helpful button. Cheers, Shane Devenshire

  • IPad Emails received in Outlook with Garbled Simplified Chinese Characters

    My iPad users sent emails to Outlook(2003,2007) users but Simplified Chinese characters are all not readable!
    The same email sent from Motorola smartphone has no such issue.
    I report the case to Apple support on Nov. 3 and heard nothing until now.

    Alardon wrote:
    Hi all, sorry for opening an old thread.. I also experience the same issues. Does anyone know whether this problem have been resolved?
    If you are having the same issue, the answer is "no".  You could try to switch the OS language to Chinese and see if that makes a difference.  The iPad has no way to select the encoding of outgoing messages, any adjustment necessary has to be made at the other end. 

  • Problem in using UTL_FILE.FOPEN with filename containing accent characters

    select value from nls_database_parameters where parameter = 'NLS_CHARACTERSET';
    VALUE
    AL32UTF8
    declare
    l_output UTL_FILE.FILE_TYPE;
    filename varchar2(100) := 'Avenue des Champs-Élysées.txt';
    begin
    l_output := UTL_FILE.FOPEN ('UPLOAD_DIR', filename, 'W');
    utl_file.put_line (l_output, 'Testing');
    utl_file.fclose(l_output);
    end;
    The file in the UPLOAD_DIR becomes "Avenue des Champs-Élysées.txt"
    can anyone tell me what NLS settings I should use in order to create file with correct filename ?

    symplik wrote:
    The file in the UPLOAD_DIR becomes "Avenue des Champs-Élysées.txt"And what does the o/s file system support and what is the operating system's NLS settings?
    If there is a mismatch between what you do in your code in Oracle, and what the o/s is configured for, then this type of "+translation+" error is to be expected.

  • Using Chinese characters mixed with English ??

    I volunteered to help a local charity with their program in
    China.
    They donate school books and funds to keep Chinese kids in
    school. Seems
    free school stops at age 15 in China.
    My problem is a page of mostly English text with a few
    Chinese
    characters. The page looks and prints perfectly. Yet when I
    save the
    page in DW8 and preview it in a browser the Chinese
    characters become ?
    marks. How do I publish a page of mixed text?
    Sorry I just accepted this job and as of now it is published
    with
    FP and that has to change. www.blessing-hands.org. I am
    attempting to
    cut and past the text from the existing site and build the
    site using DW
    and yes I know the pictures need to be compressed. Working on
    it..
    Thanks for any advise
    Joe Mackey

    OK, I am making progress solving this problem. The page
    complains that the
    encoding is not correct for some of the characters. So I go
    to preferences
    >Fonts and select Unicode 4.0 UTF-8 and select OK. But
    when I go back to
    preferences to verify, the encoding has returned to Western.
    Why is all free
    work so complicated?
    On 12/28/06 9:42 AM, in article
    en0l4g$gnh$[email protected], "Joe
    Mackey" <[email protected]> wrote:
    > I volunteered to help a local charity with their program
    in China.
    > They donate school books and funds to keep Chinese kids
    in school. Seems
    > free school stops at age 15 in China.
    > My problem is a page of mostly English text with a few
    Chinese
    > characters. The page looks and prints perfectly. Yet
    when I save the
    > page in DW8 and preview it in a browser the Chinese
    characters become ?
    > marks. How do I publish a page of mixed text?
    > Sorry I just accepted this job and as of now it is
    published with
    > FP and that has to change. www.blessing-hands.org. I am
    attempting to
    > cut and past the text from the existing site and build
    the site using DW
    > and yes I know the pictures need to be compressed.
    Working on it..
    >
    > Thanks for any advise
    >
    >
    > Joe Mackey

  • Chinese Characters Displaying as Boxes

    My iTunes used to display Chinese characters fine. But today, they all show up as boxes. I originally thought that it was something wrong with Windows, but I'm pretty sure it's an issue with iTunes. I tried to type in Chinese, and it works fine in other programs, but when I do it within iTunes (to change a song title), it becomes a box. And when I browse to the file within My Computer, the filename shows up in Chinese. But if I look at the properties of a song (Get Info), it will show the path with all the Chinese characters replaced by boxes. I believe this problem came up today, as I synced my iPhone last night, and it was fine then. I even tried to change the Language Preferences, but that only changed the menus and my songs are still boxes. Anyone else have this problem?

    Anyone else have this problem?
    Search this forum for "chinese" to find other reports.

  • Pls help - Displaying Simplified Chinese characters

    Hi all,
    I am using Servlet to generate HTML.
    When I use setContentType="charset=big5" and out.println(" . . . ."); with Big-5 Traditional Chinese characters, everything is fine.
    However, when I use setContentType="charset=gb2312" and out.println(" . . . ."); with GB2312 Simplified Chinese characters, everything is trash with some ??????.
    The internet browser in both cases can correctly set to the appropriate character set, that is, in the 1st case it is big5 and in the 2nd case it is gb2312.
    Pls help

    It should be because the font provided cannot handle the characters. Java only ever sprays question marks or rectangles at you if the font you're using is incapable of displaying what you're trying to show.
    I'd imagine that the system's default font is capable of displaying Big5 Chinese characters quite happily if it's working on the page. The problem will come when you switch the encoding of the page and the characters within it. The same default font obviously can't display GBK stuff. So switching the font (probably through the use of <FONT face=""> tags) might do the trick.
    Hope that helps!
    Martin Hughes

  • 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.

  • Problems with Chinese characters

    I have a client experiencing 3 distinct problems with their Chinese-localized Fm files:
    The SimSun TTF font used in the source Fm files is "uninstalling" itself. This requires reinstallation of the font on a regular basis (every few days).
    The colons used in index markers in the Fm source files are not being parsed as Level1IX, Level2IX, etc. in the RoboHelp project. Instead, they are recognized as colons. In other words, the first level marker in Rh is XXXXXXXX:XXXXXXX:XXXXXXX. The same is true for the semicolons.
    The conversion settings for the Chinese project do not allow for mapping to individual CSS elements and classes. This means that all of the formatting is controlled via the supplemental CSS generated from the FrameMaker formatting. IOW, the formatting all uses the class="FM_ definitions.
    Has anyone had success working with Chinese characters in a FrameMaker to RoboHelp workflow (either linking or importing)?
    Anyone else seen any of these issues in Chinese or any other fonts?
    I'm thinking the first two issues are likely due to the TrueType font used, but can't find an Adobe OTF SimSans font to use as a replacement.
    However, the lack of mapping capability in the conversion process is a stumper...perhaps due to the double-byte font itself.
    Any thoughts or solutions are greatly appreciated by my client (whose deadline passed yesterday!)
    -Matt

    I dont think you can print chinese chars at the console on window
    to print the character codes to the console use someting like that
    char [] chars = request.getParameter("whatever").toCharArray()
    for(each chars){
    System.out.println((int)chars);
    then check if you got the corresponding chinese char

  • Problems in displaying chinese characters with utf-8 encoding

    Hi,
    I got problem in displaying chinese characters in my web application.
    I am creating a web application supporting both English and Chinese charaters. What I am trying to do is:
    1. storing some chinese characters via a web page (page1) into database.
    2. retrieve the chinese characters via another web page (page2) from the database.
    Once I put the Chinese characters on the webpage (page1 in step #1), it displayes well (the readable chinese characters) before I submit this page (after submit, the data will be stored into the database).
    But when I tried to display the chiese characters via page2 in step#2, I got un-readable characters displayed.
    The running configuration is: Sun Application Server (coming and with the JSC2) and MySQL server 5.0. And I setup the database server with utf8 as character-set.
    It seems like the chinese characters got messed up throught the round-trip (from page1<----via jdbc---->database<----via jdbc------>page2).
    From the database, I found the chinese characters are there. Any helps are appreciated.

    Hi,
    I am trying to insert new record.The record may contain chineese or English data.
    I did same what u specified.
    first I converted to the byte UTF8.again,I converted byte to string using 8859_1.
    the values are not storing chinese characters.
    pls suggest me.
    below is my code.
                                  ascCode = req.getParameter("asccode");
                                  countryCode = req.getParameter("countrycode");
                                  ascName      = req.getParameter("ascname");
                                  address1     = req.getParameter("ascaddress1");
                                  address2 = req.getParameter("ascaddress2");
                                  System.out.println("ASC NAME:"+ascName);
                                  System.out.println("ADDRESS1:"+address1);
                                  System.out.println("ADDRESS2:"+address2);
                                  ascC = ascCode.getBytes("UTF8");
                                  coun = countryCode.getBytes("UTF8");
                                  ascN           = ascName.getBytes("UTF8");
                                  add1 = address1.getBytes("UTF8");
                                  add2          = address2.getBytes("UTF8");
                                  System.out.println("ASC NAME:"+ascN);
                                  System.out.println("ADDRESS1:"+add1);
                                  System.out.println("ADDRESS2:"+add2);
                                  ascCode = new String(ascC,"8859_1");
                                  countryCode= new String(coun,"8859_1");
                                  ascName = new String(ascN,"8859_1");
                                  address1 = new String(add1,"8859_1");
                                  address2 = new String(add2,"8859_1");
                                  System.out.println("ASC NAME:"+ascName);
                                  System.out.println("ADDRESS1:"+address1);
                                  System.out.println("ADDRESS2:"+address2);
    thanks.

  • [internationalization] problems with Chinese characters

    Hi everybody.
    I'm working on a program and i'd like to translate it into several languages. Until now I've managed to launch my program in 3 languages : French, English and German. I do it by asking the user which language he'd like to select by means of a JComboBox. Then the right Locale is selected and the right text is called by the RessourceBundle and so on .... Actually I've encountered no problems with "latin lettered" languages.
    I also tried to introduce Chinese in my program and that's how problems come in. The way Chinese is introduced in the program is exactly the same that of French, English and German. The .properties file I use is MyRessourcesMainTitle_zh.properties and one line is stored in it: title = &#20013;&#25991;
    However when I run the program and selected Chinese as language an error pops up in the DOS console : "Exception in thread "AWT-EventQueue-0" java.util.MissingRessourceException : Can't find ressource for bundle java.util.PropertyRessourceBundle, key title".
    I would like to point out that I saved my *.properties in a former *.txt file encoded in Unicode. Saving it encoded either in Unicode big endian or in UTF8 ends with the same problem. However the program ran just fine when I encoded it in ANSI but it's worthless insofar as the Chinese characters are transformed into "?".
    Would anyone have an idea about how to implement sucessfully Chinese characters in my program ?

    I dont think you can print chinese chars at the console on window
    to print the character codes to the console use someting like that
    char [] chars = request.getParameter("whatever").toCharArray()
    for(each chars){
    System.out.println((int)chars);
    then check if you got the corresponding chinese char

  • Problem with chinese characters while sending mail with .CSV attachment

    Hi,
    i am sendin .CSV file as an attachment with mail using "SO_DOCUMENT_SEND_API1" FM,
    whle opening the mail attachment the chinese characters are not displaying properly.
    currently i am using ECC 5.0
    can any body help in this regard.
    Thanks,
    Rahim

    Hi Kang Ring,
    please convert the content of the attachement into the binary format and then add it as a mail attachment.
    LOOP AT i_data ASSIGNING <wa_data>.
    if s_output is INITIAL.
    CONCATENATE <wa_data> cl_abap_char_utilities=>cr_lf into s_output.
    else.
    CONCATENATE s_output <wa_data> INTO s_output SEPARATED BY cl_abap_char_utilities=>cr_lf.
    endif.
    ENDLOOP.
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
    EXPORTING
    text = s_output
    IMPORTING
    buffer = x_output.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    buffer = x_output
    TABLES
    binary_tab = imail_att.
         OR
    please use ABAP-Object classes like CL_BCS , CL_document_BCS.....
    please findthe below sample code.
      cl_bcs_convert=>string_to_solix(
              EXPORTING
                iv_string   = s_output
                iv_codepage = '4103'          "suitable for MS Excel, leave empty
                iv_add_bom  = 'X'               "for other doc types
              IMPORTING
                et_solix  = s_output_binary  "(of type solix_tab)
                ev_size   = size ).
    attachment->add_attachment(                       "attachment of type ref to cl_document_bcs
              i_attachment_type    = 'xls'                     
              i_attachment_subject = l_subject    
              i_attachment_size    = size
              i_att_content_hex    = s_output_binary ).
    you need to write the code for adding the receipents, subject and adding this "attachment " as an attachment to the mail.
    Hope this will helps to you....,
    thanks,
    Rahim.

  • A Problem about zip a Chinese File with Java Zip package

    Hi,
    my problem is following:
    I use "Java(1.3.1_02) Zip package" to compress some files into a zip File
    all thing is smooth except one:(
    If there is a fileName with Chinese (big5 encoding) characters
    it doesen't work!
    Can anyone tell me how to do?
    Thanks a lot!

    Hi !
    i do have a problem relating with the different character(korean).Hope u must be working with chinese characters.My problem is while displaying the korean characters from database , the characters are broken and not able to display on jsp pages.....
    Hope u can understand my problem.....
    Thanks....

  • Filenames with strange characters

    (With apologies if this is a previously answered question.)
    One of my Java programs copies users' home areas around our network. I'm getting filenotfoundexceptions with some of the users' files, specifically those which use extended character sets (we have many international students who use special programs to create files with e.g. Chinese characters). I'm at a loss to know how to diagnose this problem and would appreciate any advice. The filenames are retrieved as result of a listFiles() and the copy method uses BufferedInput\OutputStreams.
    David R.

    Your problem must be with the names of the files, rather than with the content. I did a few experiments and found that Java (I'm using SDK 1.3 on Windows 2000) can't open files with Cyrillic characters in the file name, either for input or for output. Throws a FileNotFoundException, as you said. There shouldn't be any problem with Chinese content if you're using input and output streams.
    So, the problem is diagnosed. There are several bug reports that sound like this. Don't know if it has been fixed in SDK 1.4.

Maybe you are looking for

  • How to create a new instance without XWindows in HP_U 8.1.7

    Can Somebody help me? I want to create a new instance in HP-UX 8.1.7 database. There is no Xwindows installed. I think i should do this in SQL plus. If so can sombody give my this script. thanks

  • Trying to comprehend the use of Automatic Deployment Rules

    I am having a hard time trying to conceptualize ADRs. I would appreciate it if someone can let me know if I am on the right track here.  The way I see it is I can set up an ADR for every 2nd Tuesday of every month (Patch Tuesday) to run to build my i

  • PSE 6 slideshow output problems

    I created a large slideshow in PE6. The output is unsharp. I then bought Premeire Elements and the output is even worse. Is it because of the high resolution of the photos? If so, is there any way to change the resolution after the fact? I have tried

  • Convertion from ASCII to UTF8

    How do we convert the Extended ASCII character to UTF8 without using the ALTER DATABASE CHARACTER SET command

  • Bug graphique(CC 2014.2)

    Bonjour..Problème  sous CC 2014.2, calques 3D aléatoire,bug affichages,stries de pixels,artefacts! j'ai réinstallé,paramétrer mais rien ni fait je doute que cela vienne de ma configue( 3,5 GHz Intel Core i7-NVIDIA GeForce GTX 780M 4096 Mo) Quelqu'un