[Tickets #4407] NEW: Sync Notes with Palm using Synthesis Clientwhen ISO-8859-1
bugs@bugs.horde.org
bugs at bugs.horde.org
Mon Sep 11 06:23:54 PDT 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=4407
-----------------------------------------------------------------------
Ticket | 4407
Created By | patrick.abiven at apitech.fr
Summary | Sync Notes with Palm using Synthesis Clientwhen ISO-8859-1
Queue | SyncML
Type | Enhancement
State | New
Priority | 1. Low
Owners |
+New Attachment | patch_ISO-8859-1
-----------------------------------------------------------------------
patrick.abiven at apitech.fr (2006-09-11 06:23) wrote:
Using Horde CVS and the Synthesis client 2.5 we are able to synchronize
Notes between Horde and Palm. Thanks for your great work done on SyncML
!
Our database charset is ISO-8859-1 and the Synthesis client uses UTF-8 for
Notes (text/plain). So we have to modify /lib/SyncML/Device/Synthesis.php
:
function convertServer2Client:
if (NLS::getCharset() != "UTF-8" &&
strstr($contentType,'text/plain') !== false) {
$content = utf8_encode($content);
}
function convertClient2Server:
if (NLS::getCharset() != "UTF-8" &&
strstr($contentType, 'text/plain') !== false) {
$content = utf8_decode($content);
}
More information about the bugs
mailing list