Patch: UT_UCS_strcpy_to_char


Subject: Patch: UT_UCS_strcpy_to_char
From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Fri Jun 22 2001 - 20:36:29 CDT


I noticed in when spellchecking non-roman languages that non-roman
words were silently and confusingly omitted from the dialog. It
turns out that we use UT_UCS_strcpy_to_char() to convert all words
to 8 bits. But that function doesn't insert '?' for nonconvertible
characters. I've ammended this.

If anyone can see a good reason why sometimes we would want these
characters silently omitted I can add a "bFallback" parameter to
the function. I can't see a reason.

Andrew Dunbar.

-- 
http://linguaphile.sourceforge.net


_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com



This archive was generated by hypermail 2b25 : Fri Jun 22 2001 - 20:34:28 CDT