From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 13FFB7FD8E for ; Fri, 5 Feb 2016 11:54:12 +0100 (CET) IronPort-PHdr: 9a23:XiBQcReilpdjzkXfxEef1DJVlGMj4u6mDksu8pMizoh2WeGdxc6zYB7h7PlgxGXEQZ/co6odzbGG7Oa6AydZv96oizMrTt9lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUiv2OQc9HOnpAIma153xjLDtvceJKFwWzBOGIppMbzyO5T3LsccXhYYwYo0Q8TDu5kVyRuJN2GlzLkiSlRuvru25/Zpk7jgC86l5r50IAu3GePETRLlcSTAnKHx9sMbisB2GSQqU+lMdVH8Xm1xGGV6W1hziWobNtX7/v/Zh2CiXIIv6ULopVjm+x6huQR7sziwAMm0X6mbS3+l5kL5boR+87zBiyZPbbZ3dYP93Yr/dfN4HA2ZcVNteWjBpDYa1bo9JBO0Ea7UL57LhrkcD+EPtTTKnA/nin2dF Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=matthieu.dubuget@gmail.com; spf=Pass smtp.mailfrom=matthieu.dubuget@gmail.com; spf=None smtp.helo=postmaster@mail-wm0-f48.google.com Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of matthieu.dubuget@gmail.com) identity=pra; client-ip=74.125.82.48; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="matthieu.dubuget@gmail.com"; x-sender="matthieu.dubuget@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of matthieu.dubuget@gmail.com designates 74.125.82.48 as permitted sender) identity=mailfrom; client-ip=74.125.82.48; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="matthieu.dubuget@gmail.com"; x-sender="matthieu.dubuget@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wm0-f48.google.com) identity=helo; client-ip=74.125.82.48; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="matthieu.dubuget@gmail.com"; x-sender="postmaster@mail-wm0-f48.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CCAwCUfrRWlDBSfUpehAxthC+ELJ8kBAOHEYxEGYREgmo7EQEBAQEBAQEBEAEBAQEHCwsJHzCCLYImBxEIBwENARscAgMSEA8CBRYLAgsDAgECAREMAQQBBQEDAR4NCAEBHodjAQECEgShFoIHgTE+MYs0gWkEglOBYIMvChkEChkNUYN2DBgBBQoEbYUXi2mBOgWNJoVHhAaBE4Q5iASCJYZuDoEuC02DTI0DL0BNNoJAgVFpiXwBAQE X-IPAS-Result: A0CCAwCUfrRWlDBSfUpehAxthC+ELJ8kBAOHEYxEGYREgmo7EQEBAQEBAQEBEAEBAQEHCwsJHzCCLYImBxEIBwENARscAgMSEA8CBRYLAgsDAgECAREMAQQBBQEDAR4NCAEBHodjAQECEgShFoIHgTE+MYs0gWkEglOBYIMvChkEChkNUYN2DBgBBQoEbYUXi2mBOgWNJoVHhAaBE4Q5iASCJYZuDoEuC02DTI0DL0BNNoJAgVFpiXwBAQE X-IronPort-AV: E=Sophos;i="5.22,399,1449529200"; d="scan'208";a="163312124" Received: from mail-wm0-f48.google.com ([74.125.82.48]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 05 Feb 2016 11:54:11 +0100 Received: by mail-wm0-f48.google.com with SMTP id p63so20917836wmp.1 for ; Fri, 05 Feb 2016 02:54:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=reply-to:from:subject:to:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=eCTI12xrISxeh/vpY6JgazREP/XLnCwZn+4NnYw1GkQ=; b=oC+Re+CRSIBf0EAoljTdw8BIOsCPj621TJ5tpTWyCzfjteX1yXWJ68iEG1r9iNmDs+ yCrLD4r9UJmO7SQHbE7/0aOJ3Wsx9bYYv87We1nRYhnUMTSzDbqERb8j/z2aY2YFJGvH /431Hjx0B3jnfHtE604e2tCLCR1gCdqSfFum87HbohgkKAVVLK/IXwf2fYuPYqjGc2i8 1k3skL1K9P/U8VDvSLOReQ1zk0iFJpZI8ciMKthtCjahxmeQO4LHYdQ7HVLbi1vNoHG3 OtEav3ZFj3hLioSEJ4Wbq/jDGH3/P/6Aokcr8I4wr+cOS+ws5TDw3jcaqmekaMwOyjgG VtPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:reply-to:from:subject:to:message-id:date :user-agent:mime-version:content-type:content-transfer-encoding; bh=eCTI12xrISxeh/vpY6JgazREP/XLnCwZn+4NnYw1GkQ=; b=XSFbu1eEHY84WuQjaiwJ5pgHrdftHAlOLPMFz04+I+gmlkQ+6UErA8yMdVY9iHSuUr wRp9AW0AMoO9w+NZwP4z+cefK2pg/2yoi23WMfctE8ouyRJDl4uSzfKOBBXf9OUp5maE eLnc4HvRoH7gL0UFl22Tai5N5UFOJr0kqs7TYgdgL99hQLYF9o9x+k+5c79mzkhmuWis 7R5DjhDIwvc7j3pWo+G5AE8W5Ghsy59Zgis07QlICxi8WZ53erGpGvFGoBDDtdzBoZGq 4gAY0nQSNQzHKox6ImrdaGGaqS/jI/SZDh+M1b4KRQC8kQYYmiMf1estzR3yVGxAUdWv g7uQ== X-Gm-Message-State: AG10YOThhlu1cLbWCFF4kUAMT8/FbiXcTkejxx+lWdCFR0R+AzF4O89uLES3XDbR9UxkpA== X-Received: by 10.194.104.198 with SMTP id gg6mr12476440wjb.84.1454669651173; Fri, 05 Feb 2016 02:54:11 -0800 (PST) Received: from [172.17.1.79] (papillon.metalscan.fr. [178.22.148.54]) by smtp.gmail.com with ESMTPSA id 198sm16847517wml.22.2016.02.05.02.54.10 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Feb 2016 02:54:10 -0800 (PST) Reply-To: matthieu.dubuget@gmail.com From: Matthieu Dubuget X-Enigmail-Draft-Status: N1110 To: Caml-list Message-ID: <56B47F51.5030001@gmail.com> Date: Fri, 5 Feb 2016 11:54:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: [Caml-list] Looking for a windows ocaml UTF-16 encoded filename aware library Hello, I'm currently analysing a NTFS file-tree with a windows OCaml native application. This application is using: - Unix.{opendir,readdir,closedir} - and Unix.LargeFile.lstat The unix library of OCaml distribution is using ANSI variants of system functions. This is working fine until files or directories whose UTF-16 encoded name cannot be converted into the code page in use are reached. I'm about to write a small library to solve this problem: it would mimic the corresponding code from OCaml unix library, but using WIDE variants of microsoft system functions in the C stub instead of ANSI variants. Before going on: do you know of any library that already do this I could use? Thanks for any link. Salutations -- Matthieu Dubuget Conseil de lecture : Guide d’autodéfense numérique (http://guide.boum.org)