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
|
||||
(insert body)
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "[
]" nil t)
|
||||
(while (re-search-forward "[
’]" nil t)
|
||||
(replace-match
|
||||
(cond
|
||||
((string= (match-string 0) "") "'")
|
||||
((string= (match-string 0) "’") "'")
|
||||
(t ""))))
|
||||
(buffer-string))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue