beginer: openldap UTF-8, cestina, import dat
Pavel Janík
Pavel na Janik.cz
Pondělí Únor 4 09:43:53 CET 2002
From: "Roman Slechta" <roman na cns-net.cz>
Date: Mon, 4 Feb 2002 08:12:02 +0100
Zdravím,
> funguje mi openldap, ale bez cestiny. Nelze pridat cesky retezec.
> Zkousel jsem hledat neco o UTF-8, ale marne. Pouye programem
> uuencode a pak to oriznu, ale to je hloupe. Jak se to da nastavit?
používejte v Emacsu 21.1 tuhle funkci pro vkládání řetězců:
(defun ldap-insert-string (string)
"Insert base64 encoded string in UTF-8 coding system.
This function is useful for LDIF editing."
(interactive "MEnter string: \n")
(insert (base64-encode-string (encode-coding-string string 'utf-8))))
--
Pavel Janík
It's entirely untested, but it looks good and compiles. Ship it!
-- Linus Torvalds in linux-kernel
Další informace o konferenci Linux