Re: Commit: wctomb and mbtowc fixes

From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Sun Nov 03 2002 - 20:51:04 EST

  • Next message: Martin Sevior: "commit: Table fixes."

    YAY!! (:

    Andrew.

     --- Dom Lachowicz <doml@appligent.com> wrote:
    > *NO* copy constructors
    > *NO* assignment operators
    > *NO* no-arg constructors (ok, I deprecated their
    > usage and fixed all
    > non-plugin places where they were used)
    >
    > Also, as a result, fixed a *major* lurking bug on
    > unix. We were using
    > MBTOWC's no-arg constructor to translate incoming
    > UTF-8 into UCS4.
    > Except that the no-arg constructor got the
    > environment's default 8 bit
    > encoding. Which isn't UTF-8 in most situations.
    > Yuck.
    >
    > Dom
    >
    > CVS:
    >
    ----------------------------------------------------------------------
    > CVS: Enter Log. Lines beginning with `CVS:' are
    > removed automatically
    > CVS:
    > CVS: Committing in .
    > CVS:
    > CVS: Modified Files:
    > CVS: src/af/ev/unix/ev_UnixKeyboard.cpp
    > CVS: src/af/gr/unix/gr_UnixGraphics.cpp
    > CVS: src/af/util/xp/ut_mbtowc.cpp
    > src/af/util/xp/ut_mbtowc.h
    > CVS: src/af/util/xp/ut_string.cpp
    > CVS: src/af/util/xp/ut_string_class.cpp
    > CVS: src/af/util/xp/ut_wctomb.cpp
    > src/af/util/xp/ut_wctomb.h
    > CVS: src/af/xap/unix/xap_UnixPSGraphics.cpp
    > CVS: src/wp/impexp/xp/ie_exp_HTML.cpp
    > CVS:
    > src/wp/impexp/xp/ie_exp_RTF_listenerWriteDoc.cpp
    > CVS: src/wp/impexp/xp/ie_exp_Text.cpp
    > CVS: src/wp/impexp/xp/ie_imp_RTF.cpp
    > CVS: src/wp/impexp/xp/ie_imp_Text.cpp
    > CVS:
    >
    ----------------------------------------------------------------------
    >
    >

    =====
    http://linguaphile.sourceforge.net/cgi-bin/translator.pl http://www.abisource.com

    __________________________________________________
    Do You Yahoo!?
    Everything you'll ever need on one web page
    from News and Sport to Email and Music Charts
    http://uk.my.yahoo.com



    This archive was generated by hypermail 2.1.4 : Sun Nov 03 2002 - 20:59:46 EST