Commit: wctomb and mbtowc fixes

From: Dom Lachowicz (doml@appligent.com)
Date: Sun Nov 03 2002 - 18:53:41 EST

  • Next message: Andrew Dunbar: "Re: Encoding issues"

    *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:
    ----------------------------------------------------------------------



    This archive was generated by hypermail 2.1.4 : Sun Nov 03 2002 - 19:01:45 EST