summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-02-11 13:48:18 +0000
committerBruno Haible <bruno@clisp.org>2009-06-22 01:19:05 +0200
commit68d9ee289e3dfa4f8efa384cdeea9f9fdbd960b0 (patch)
tree0bd114c4c5bf539d770a60b0caf9de43f298cd4f /misc
parent92424007bb338710fa35f765537f05f0096b7ab8 (diff)
downloadexternal_gettext-68d9ee289e3dfa4f8efa384cdeea9f9fdbd960b0.zip
external_gettext-68d9ee289e3dfa4f8efa384cdeea9f9fdbd960b0.tar.gz
external_gettext-68d9ee289e3dfa4f8efa384cdeea9f9fdbd960b0.tar.bz2
Fix encodings used during po-send-mail.
Diffstat (limited to 'misc')
-rw-r--r--misc/ChangeLog9
-rw-r--r--misc/po-mode.el4
2 files changed, 12 insertions, 1 deletions
diff --git a/misc/ChangeLog b/misc/ChangeLog
index 7c8a184..98ad555 100644
--- a/misc/ChangeLog
+++ b/misc/ChangeLog
@@ -1,5 +1,14 @@
2002-02-09 Karl Eichwalder <ke@suse.de>
+ * po-mode.el (po-send-mail): Set coding-system-for-read and
+ coding-system-for-write to the coding system of the po buffer;
+ otherwise Emacs will fall back to mule-utf-8 when the default coding
+ system is different from the po buffer and thus the following
+ 'shell-command-on-region' will prepare an wrongly encoded file (e.g.,
+ mule-utf-8 instead of UTF-8).
+
+2002-02-09 Karl Eichwalder <ke@suse.de>
+
* po-mode.el (po-translation-project-address): Convert it to a
customizable variable.
(po-translation-project-mail-label): New variable.
diff --git a/misc/po-mode.el b/misc/po-mode.el
index 04a5798..c48f139 100644
--- a/misc/po-mode.el
+++ b/misc/po-mode.el
@@ -3275,7 +3275,9 @@ Write to your team? ('n' if writing to the Translation Project robot) ")))
po-obsolete-counter))))
(let ((buffer (current-buffer))
(name (po-guess-archive-name))
- (transient-mark-mode nil))
+ (transient-mark-mode nil)
+ (coding-system-for-read buffer-file-coding-system)
+ (coding-system-for-write buffer-file-coding-system))
(apply po-compose-mail-function address
(if team-flag
(read-string (_"Subject? "))