summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
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? "))