filenames with non ascii characters

Discussion in 'Java' started by Nicholas Clarke, Jan 14, 2004.

  1. Hello.

    I'm writing a webserver and I have had the most annoying problem for
    some time now. I can't access filenames on disk with fx. danish
    characters, I get a FileNotFound exception. Its the same wether I use
    Linux or Windows. Is there a trick to this?

    -Nicholas
    Nicholas Clarke, Jan 14, 2004
    #1
    1. Advertising

  2. On Thu, 15 Jan 2004 00:31:02 +0100, Nicholas Clarke
    <> wrote:

    > Hello.
    >
    > I'm writing a webserver and I have had the most annoying problem for some
    > time now. I can't access filenames on disk with fx. danish characters, I
    > get a FileNotFound exception. Its the same wether I use Linux or Windows.
    > Is there a trick to this?


    I'm not familiar with the problem, but try doing a File.list() or
    listFiles() on the directory and see what you get for the unfindable files.
    Maybe we that will turn up something interesting.
    HTH,
    Michiel
    Michiel Konstapel, Jan 15, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. B.J.
    Replies:
    4
    Views:
    739
    Toby Inkster
    Apr 23, 2005
  2. =?ISO-8859-1?Q?Marian_Aldenh=F6vel?=

    Printing Filenames with non-Ascii-Characters

    =?ISO-8859-1?Q?Marian_Aldenh=F6vel?=, Feb 1, 2005, in forum: Python
    Replies:
    13
    Views:
    679
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Feb 8, 2005
  3. pdenize
    Replies:
    1
    Views:
    1,030
    Martin v. Löwis
    Jul 20, 2009
  4. bruce
    Replies:
    38
    Views:
    265
    Mark Lawrence
    Nov 1, 2013
  5. MRAB
    Replies:
    0
    Views:
    95
Loading...

Share This Page