From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p1SD0O58030863 for ; Mon, 28 Feb 2011 14:00:25 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQHAKEra01QW+UMgWdsb2JhbACEJJQNjhUVAQEWIiWreJAFgSeDRHYEjB0 X-IronPort-AV: E=Sophos;i="4.62,238,1297033200"; d="scan'208";a="88829746" Received: from lo.gmane.org ([80.91.229.12]) by mail4-smtp-sop.national.inria.fr with ESMTP; 28 Feb 2011 13:59:37 +0100 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pu2hL-00035u-Tl for caml-list@inria.fr; Mon, 28 Feb 2011 13:59:35 +0100 Received: from avelizy-155-1-79-130.w90-2.abo.wanadoo.fr ([90.2.30.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Feb 2011 13:59:35 +0100 Received: from sylvain by avelizy-155-1-79-130.w90-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Feb 2011 13:59:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Date: Mon, 28 Feb 2011 12:59:24 +0000 (UTC) Message-ID: References: <20110228.093528.996524125295855263.Christophe.Troestler@umons.ac.be> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: avelizy-155-1-79-130.w90-2.abo.wanadoo.fr User-Agent: slrn/pre1.0.0-18 (Linux) Subject: [Caml-list] Re: GSoC: better UTF-8 support On 28-02-2011, Daniel Bünzli wrote: >> D:\>md "Paweł Łukaszewski" >> D:\>cd "Paweł Łukaszewski" >> D:\Paweł Łukaszewski>ocaml >>        Objective Caml version 3.11.2 >> >> # Sys.getcwd();; >> - : string = "D:\\Pawel Lukaszewski" > > 1) That's very different problem from defining new Char and String > like modules for UTF-8 encoded strings. > 2) Is that a windows problems ? Here on osx : > I think it is a windows issue. Because, on windows, you use either ASCII or UTF-16 (I think this is the encoding of wide char on Windows, though I am not sure). So you have two sets of function: xxxA and xxxW. E.g. CreateDirectoryA and CreateDirectoryW Cheers, Sylvain Le Gall -- My company: http://www.ocamlcore.com Linkedin: http://fr.linkedin.com/in/sylvainlegall Start an OCaml project here: http://forge.ocamlcore.org OCaml blogs: http://planet.ocamlcore.org