From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA17449; Sat, 11 Sep 2004 11:01:10 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA18926 for ; Sat, 11 Sep 2004 11:01:09 +0200 (MET DST) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i8B918wv026406 for ; Sat, 11 Sep 2004 11:01:08 +0200 Received: from [127.0.0.1] ([83.226.138.194] [83.226.138.194]) by mxfep01.bredband.com with ESMTP id <20040911090104.CWG1871.mxfep01.bredband.com@[127.0.0.1]> for ; Sat, 11 Sep 2004 11:01:04 +0200 Message-ID: <4142BED1.7050604@abc.se> Date: Sat, 11 Sep 2004 11:01:05 +0200 From: Mattias Waldau Reply-To: mattias.waldau@abc.se User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] How do I create files with UTF-8 file names? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 4142BED4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; mattias:01 waldau:01 mattias:01 waldau:01 encoded:02 string:03 problem:07 solve:07 utf-:08 utf-:08 32.:08 strange:09 chars:12 chars:12 create:13 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I have a filename as an UTF-8 encoded string. I need to be able to handle strange chars like accents, Asian chars etc. Is there any way to create a file with that name? I only need it on Win32. Or should I solve this problem by talking directly to the Win32-api? Has anyone done this? -- mattias ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners