From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Sun Sep 21 2003 - 18:46:54 EDT
--- "Kenneth J. Davis" <jeremyd@computer.org> wrote:
> Only active on Windows as we use peer iconv, which
> includes the extra
> DOS/Windows console codepage support; I'm not sure
> if other platforms
> normally include them, nor how to determine so in
> the build
> process/runtime. I also changed the text importer
> to not fail on
> control codes (0-0x1f), instead replace them with
> '?'.
This isn't the right fix I think. What you should do
is find out exactly which control codes are needed and
allow only those.
OR
It might be possible to pass a parameter to the
importer to allow control codes only when dealing with
this specific encoding.
Andrew Dunbar.
> This allows
> it to load my test document (see FILE_ID.DIZ from
> site mentioned in bug)
> instead of generating the failed to load document
> error.
> The two new strings may need adjusting.
>
> Jeremy
>
>
> CVS:
>
----------------------------------------------------------------------
> CVS: Enter Log. Lines beginning with `CVS:' are
> removed automatically
> CVS:
> CVS: Committing in .
> CVS:
> CVS: Modified Files:
> CVS: af\util\xp/ut_Encoding.cpp
> af\xap\xp/xap_String_Id.h
> CVS: wp\impexp\xp/ie_imp_Text.cpp
> CVS:
>
----------------------------------------------------------------------
> partial fix for bug 3862, add support on Windows for
> CP437 & cp850
> (DOS and Windows console codepages) and be more
> lenient with contents
> of text documents, use ? for bad control characters
> in them
>
>
>
=====
http://linguaphile.sf.net/cgi-bin/translator.pl http://www.abisource.com
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
This archive was generated by hypermail 2.1.4 : Sun Sep 21 2003 - 19:01:18 EDT