# # patch "ChangeLog" # from [7bc8a70038bd99f57febd1ea718be36097f0ac77] # to [80affb99d4bbd633fa4e4422fce5f361c5a22408] # # patch "monotone.cc" # from [622baf2c20a7e9fc1304b3078560e90f9bb58e11] # to [a9cbddd5b52d8d0449f17a1032fd4744194d702f] # ======================================================================== --- ChangeLog 7bc8a70038bd99f57febd1ea718be36097f0ac77 +++ ChangeLog 80affb99d4bbd633fa4e4422fce5f361c5a22408 @@ -1,5 +1,10 @@ 2005-08-23 Nathaniel Smith + * monotone.cc (cpp_main): Use bind_textdomain_codeset to request + that all gettext'ed strings be returned in UTF-8. + +2005-08-23 Nathaniel Smith + * idna/nfkc.c (g_utf8_strlen): Expose. * transforms.{cc,hh} (length): New function. * ui.cc (write_ticks): Use length() instead of .size() to ======================================================================== --- monotone.cc 622baf2c20a7e9fc1304b3078560e90f9bb58e11 +++ monotone.cc a9cbddd5b52d8d0449f17a1032fd4744194d702f @@ -238,8 +238,8 @@ setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); + bind_textdomain_codeset(PACKAGE, "UTF-8"); - // we want to catch any early informative_failures due to charset // conversion etc try