Any takers?

\David
-- 
--- Begin Message ---
Bugs item #1836234, was opened at 2007-11-22 13:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=399601&aid=1836234&group_id=30550

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libsynce
Group: SVN Trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: HIRANO Takahito (hiranotaka)
Assigned to: David Eriksson (twogood)
Summary: fail to convert some languages from ucs-2 to other encodings

Initial Comment:
lib/wstr.c, which converts character encodings, assumes that a character in the 
UCS-2 encoding corresponds to at most 2 bytes in UTF-8 or the current encoding.
Actually, the CJK (Chinese, Japanese and Korean language) characters consume 
three bytes in UTF-8, and minor languages may consume more bytes.
It can fail to convert such language from UCS-2 to UTF-8 or others.

I'll attach a patch for lib/wstr.c to decide how many bytes are required 
dynamically. 


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=399601&aid=1836234&group_id=30550

--- End Message ---
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to