Commit: Fix nasty encoding bug

From: Dom Lachowicz (doml@appligent.com)
Date: Thu Oct 24 2002 - 13:17:51 EDT

  • Next message: Alan Horkan: "Re: still Instant crash with abiword-1.1.0/current cvs"

    Bug may now lurk on Win32 and other platforms, but the old code is still
    right underneath, just lurking. If this doesn't work for you, move our
    new code into the #else section, and this should be solved for every
    platform.

    Bug was exposing a 1.5 year old problem that we had with iconv's byte
    ordering. See the archives for more information.

    This should fix Martin's "fred" bug as well as the UTF-8 "invalid string
    passed to pango" problem. They are actually one in the same.

    Also moved table context menus into submenus, to avoid needless menu
    clutter. Also used the UTF8String in the Unix status bar, instead of
    what we were doing (strlen on utf8? you don't mean to do that...).

    Much thanks goes to FJF on this one. Contrary to popular belief, he does
    not owe you donuts :)

    Cheers,
    Dom, Lord of the Albatross

    CVS:
    ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: src/af/util/xp/ut_iconv.cpp src/af/util/xp/ut_mbtowc.cpp
    CVS: src/af/xap/xp/xap_EncodingManager.cpp
    CVS: src/wp/ap/unix/ap_UnixStatusBar.cpp
    CVS: src/wp/ap/xp/ap_ML_ContextHyperlink.h
    CVS: src/wp/ap/xp/ap_ML_ContextImage.h
    CVS: src/wp/ap/xp/ap_ML_ContextRevision.h
    CVS: src/wp/ap/xp/ap_ML_ContextSquiggle.h
    CVS: src/wp/ap/xp/ap_ML_ContextText.h
    CVS:
    ----------------------------------------------------------------------



    This archive was generated by hypermail 2.1.4 : Thu Oct 24 2002 - 13:24:39 EDT