mirror of https://github.com/djcb/mu.git
Merge pull request #120 from nd/cyrillic
* fix 'Â' letters in a message view
This commit is contained in:
commit
02948aadc7
|
@ -175,10 +175,10 @@ part, but this can be changed by setting
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(insert body)
|
(insert body)
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(while (re-search-forward "[
]" nil t)
|
(while (re-search-forward "[
’]" nil t)
|
||||||
(replace-match
|
(replace-match
|
||||||
(cond
|
(cond
|
||||||
((string= (match-string 0) "") "'")
|
((string= (match-string 0) "’") "'")
|
||||||
(t ""))))
|
(t ""))))
|
||||||
(buffer-string))))
|
(buffer-string))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue