Menu

#397 The File Name is NOT supported with double-byte characters

Filestorage
closed
nobody
5
2009-11-02
2007-06-05
eren
No

The File Name is NOT supported with double-byte characters. It is very inconvenient for us, most of the file name contain double-byte characters.

Discussion

  • Frank Bergmann

    Frank Bergmann - 2009-07-01

    Hi Zhang Chaoping,

    I've tried to reproduce your issue at our ]po[ demo server:
    http://po34demo.dnsalias.com/intranet/projects/view?&project_id=16520

    This server is running:

    - Server OS: CentOS 5.1 (updated to 5.2)
    - Client OS: Windows XP with Chinese character set installed
    - Browser: Firefox 3.0.11
    - AOLServer: aolserver3.3oacs
    - ]po[: V3.4.0.7.0

    Here is what I have tested:

    1. Uploading a file with Chinese characters

    - I've create a file called "chinese-project001.中国.gan"
    - In the project's filestorage I upload the file
    => OK. The characters appear perfectly.

    2. Create a file via /ds/shell:

    - I go to /ds/shell (you need to be admin to be able to do this, please try with your own server...)
    - I execute the command: "exec bash -c "cd /web/po34demo/filestorage/projects/adromit/2005_0154; echo asdf > task中国_level2.txt""
    => OK. I can see the correct filename in the project's filestorage.

    These two tests indicate that the underlying filesystem at least doesn't transform the files.

    3. Create a new folder:

    - I go to the Filestorage of a project: http://po34demo.dnsalias.com/intranet/projects/view?view_name=files&project_id=16520
    - I create a new folder "folder中国test"
    => NOT OK. I only see "folder__test", so there is a bug in the ]po[ side (I assume).

    4. Create a file from Linux:

    - I access Linux from the Putty SSH client
    - I try to create a filename called "test中国test"
    => NOT OK. Putty (I assume...) replaces the "中国" characters with dots.

    We will be able to fix the issue 3) with creating folders, no problem.

    So my big question: How did you create the files that ]po[ didn't show? Using ]po[ or on the Linux level?

    Bests!
    Frank

     
  • Frank Bergmann

    Frank Bergmann - 2009-07-01

    Another ToDo: We should check what happens if the files are stored on a Windows share, whether the file names are treated correctly or not.

     
  • Frank Bergmann

    Frank Bergmann - 2009-07-01
    • labels: 550492 --> Localization
     
  • Frank Bergmann

    Frank Bergmann - 2009-11-02
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB