Commit 0cd9a1a9 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(po-find-charset): Search for Charset= header even if we've read less than

4KB.
parent 73cc75b5
2002-03-16 Eli Zaretskii <eliz@fencepost.gnu.org>
* textmodes/po.el (po-find-charset): Search for the Charset=
header even if we've read less than 4KB.
2002-03-16 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
* textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
......
......@@ -130,8 +130,8 @@ Content-Type into a Mule coding system.")
(1- (point))
(1- (+ (point) 4096)))))
(setq short-read (< (nth 1 pair) 4096)))))
(cond (short-read nil)
((re-search-forward charset-regexp nil t) (match-string 1))
(cond ((re-search-forward charset-regexp nil t) (match-string 1))
(short-read nil)
;; We've found the first msgid; maybe, only a part of the msgstr
;; value was loaded. Load the next 1024 bytes; if charset still
;; isn't available, give up.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment