From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 006097ED5D for ; Mon, 30 Jul 2012 15:20:37 +0200 (CEST) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of micha-1@fantasymail.de) identity=pra; client-ip=213.165.64.23; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="micha-1@fantasymail.de"; x-sender="micha-1@fantasymail.de"; x-conformance=sidf_compatible Received-SPF: Pass (mail4-smtp-sop.national.inria.fr: domain of micha-1@fantasymail.de designates 213.165.64.23 as permitted sender) identity=mailfrom; client-ip=213.165.64.23; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="micha-1@fantasymail.de"; x-sender="micha-1@fantasymail.de"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mailout-de.gmx.net) identity=helo; client-ip=213.165.64.23; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="micha-1@fantasymail.de"; x-sender="postmaster@mailout-de.gmx.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgIDALWJFlDVpUAXjmdsb2JhbABFjWqsDgEBAQEJCwkJEgUkgiEBBXkQCyElDwJGEwEHAQGIDZxOnWaPFoMcA41wmkc X-IronPort-AV: E=Sophos;i="4.77,679,1336341600"; d="scan'208";a="152019849" Received: from mailout-de.gmx.net ([213.165.64.23]) by mail4-smtp-sop.national.inria.fr with SMTP; 30 Jul 2012 15:20:35 +0200 Received: (qmail invoked by alias); 30 Jul 2012 13:20:34 -0000 Received: from p54A386F1.dip0.t-ipconnect.de (EHLO [10.123.101.53]) [84.163.134.241] by mail.gmx.net (mp037) with SMTP; 30 Jul 2012 15:20:34 +0200 X-Authenticated: #20477425 X-Provags-ID: V01U2FsdGVkX1/+3rZ/6cn+Rtgg3GryvcV2Ti3n8vqGo1RW3x4ODn r8aJl2NI/R/qGe Message-ID: <50168A21.70107@fantasymail.de> Date: Mon, 30 Jul 2012 15:20:33 +0200 From: Michael Reply-To: micha-1@fantasymail.de User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: caml-list@inria.fr CC: Gerd Stolpmann , Gerd Stolpmann References: <1343647863.760.0@samsung> In-Reply-To: <1343647863.760.0@samsung> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: [Caml-list] utf-16 string operations thanks for the help. The conversion with ocamlnet was the mising hint. Maybe Search/replace is a bit unspecfic, but it's exactly that: - Str.global_replace (regexp "string") "newstring" utf-16-string Michael