[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bbdb kanji being corrupped on save



I patched below at bbdb.el

--- /cygdrive/c/Users/taku/Downloads/bbdb-2.35/lisp/bbdb.el
2007-01-02 17:01:18.000000000 +0900
+++ /usr/local/share/emacs/23.4/site-lisp/bbdb/bbdb.el  2010-01-09
21:01:05.000000000 +0900
@@ -761,8 +761,8 @@
 ;; emacs-mule would be better) with both Emacs 21 and XEmacs.
 (defconst bbdb-file-coding-system
   (if (fboundp 'coding-system-p)
-      (cond ((coding-system-p 'utf-8-emacs)
-             'utf-8-emacs)
+      (cond ((coding-system-p 'utf-8-unix)
+             'utf-8-unix)
             (t 'iso-2022-7bit)))
   "Coding system used for reading and writing `bbdb-file'.
 This should not be changed by users.")


On Wed, Jul 4, 2012 at 10:24 AM, Randy Bush <randy@psg.com> wrote:
>> when i have kanji in a name and then save the .bbdb, i end up with
>> \mush in the file and lose the kanji.  i tried saving in mule,
>> iso-this-and-that, etc.  no love.  same problem for extended latin
>> alphabets.
>
> it turns out this is a problem with bbdb < v3.  and v3 has yet to make
> friends with wanderlust.  :(
>
> randy
>