Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 0C793429E25 for ; Tue, 13 Sep 2011 20:55:44 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3hPxG65D98PZ for ; Tue, 13 Sep 2011 20:55:43 -0700 (PDT) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.216.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A0DB3431FB6 for ; Tue, 13 Sep 2011 20:55:43 -0700 (PDT) Received: by qyk30 with SMTP id 30so3531558qyk.5 for ; Tue, 13 Sep 2011 20:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=Z+TXj5KKAuUS/IJZPM57JHKC9sPIJ0AsM+sVIOpu8Fg=; b=UnyW0zoAqlxz75Y9DNvD8xw/wefqqvULIPI3Svw6hTt3mHnIQf9d+3tl+WVmfViMZe E9YBmAmqPSV4tfXJZCzyR60pfSpOdIr0/Lvc7KYmWLYjT+y6F+KmfVMQP36Lm+1pw4zq ACsBtLzITW05XjiKnrnjHPDHAvqRzGqww+zHY= Received: by 10.229.232.131 with SMTP id ju3mr1303975qcb.248.1315972541951; Tue, 13 Sep 2011 20:55:41 -0700 (PDT) Received: from [192.168.1.190] (pool-68-163-190-45.bos.east.verizon.net. [68.163.190.45]) by mx.google.com with ESMTPS id dt6sm3536814qab.9.2011.09.13.20.55.40 (version=SSLv3 cipher=OTHER); Tue, 13 Sep 2011 20:55:41 -0700 (PDT) Subject: Unicode Paths From: Martin Owens To: Notmuch developer list Content-Type: text/plain; charset="UTF-8" Date: Tue, 13 Sep 2011 23:55:39 -0400 Message-ID: <1315972539.2201.11.camel@delen> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2011 03:55:44 -0000 Hello Again, I notice in the lib code notmuch_database_open(), notmuch_database_create() these functions use const char *path for the directory path input. Is this unicode safe? The python bindings (and ctype docs) seem to suggest using something called 'wchar_t *' for accepting unicode but that's for C not C++. Is this something that should be patched? Best Regards, Martin Owens