From owner-freebsd-ports@FreeBSD.ORG Wed Jun 28 12:44:40 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E43616A408 for ; Wed, 28 Jun 2006 12:44:40 +0000 (UTC) (envelope-from koutek@o-k.cz) Received: from s1.mediaturtle.com (s1.mediaturtle.com [82.99.173.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8FBA44C59 for ; Wed, 28 Jun 2006 12:44:37 +0000 (GMT) (envelope-from koutek@o-k.cz) Received: from localhost (localhost [127.0.0.1]) by s1.mediaturtle.com (Postfix) with ESMTP id D79F111877 for ; Wed, 28 Jun 2006 14:44:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at example.com Received: from s1.mediaturtle.com ([127.0.0.1]) by localhost (s1.mediaturtle.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MHdAiR-x92DB for ; Wed, 28 Jun 2006 14:44:32 +0200 (CEST) Received: from [10.45.11.44] (mail.hsw.cz [195.250.135.34]) by s1.mediaturtle.com (Postfix) with ESMTP id 8C7921185F; Wed, 28 Jun 2006 14:44:32 +0200 (CEST) From: Ondra Koutek To: ports@FreeBSD.org Content-Type: text/plain Date: Wed, 28 Jun 2006 14:44:25 +0200 Message-Id: <1151498665.9656.3.camel@s1.o-k.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: FreeBSD Port: pilot-link-0.11.8_4,1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 12:44:40 -0000 Hi, I just got my palm localized and my default encoding now is ISO-8859-2. However the evolution requires UTF-8 and all my diacritics is broken during sync. I found following advice: The approach is to modify pilot-link. (pilot-link-0.12.0-pre4) In file libpisync/util.c, add include files and change a macro, as below. #ifdef HAVE_CONFIG_H #include #endif #include #include #include "pi-util.h" #ifdef HAVE_ICONV #include #endif #include #define PILOT_CHARSET setlocale( LC_ALL,NULL ) It might be usefull to have a choice to build port depending on the palm device charset. Ondra