[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/spell-fu 33a28e0df5 41/86: fix: encode word to utf-8 gener
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/spell-fu 33a28e0df5 41/86: fix: encode word to utf-8 generating the cache |
Date: |
Thu, 7 Jul 2022 12:03:42 -0400 (EDT) |
branch: elpa/spell-fu
commit 33a28e0df53d76f1285d0a3ca3feea3c4271b120
Author: Hanno Perrey <hanno@hoowl.se>
Commit: Campbell Barton <ideasman42@gmail.com>
fix: encode word to utf-8 generating the cache
This fixes treatment of UTF-8 characters when generating the cache for
the first time from the list of words. It builds upon the fix introduced
in 86d46cf6. This was tested against characters in the German and
Swedish language.
---
spell-fu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spell-fu.el b/spell-fu.el
index a5547242f6..a21d489c8f 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -353,7 +353,7 @@ save some time by not spending time reading it back."
(while (not (eobp))
(let ((l (buffer-substring-no-properties (line-beginning-position)
(line-end-position))))
;; Value of 't' is just for simplicity, it's no used except for
check the item exists.
- (puthash (downcase l) t word-table)
+ (puthash (encode-coding-string (downcase l) 'utf-8) t word-table)
(forward-line 1))))
;; Write write it to a file.
- [nongnu] branch elpa/spell-fu created (now cbe5cd84c3), ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu eeda8ef28e 06/86: Cleanup: minor non-functional changes, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 676498f757 13/86: Support buffer local dictionaries, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 073932be78 16/86: Cleanup: replace '(nth 5 ...' with file-attribute-modification-time, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 2c792330ac 18/86: Case insensitive sort lines as a list (not in the buffer), ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 03114080c8 20/86: Add requirements at the top of the file, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu fe557e3dff 21/86: Be explicit about using macro that sets values in-place, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 33a28e0df5 41/86: fix: encode word to utf-8 generating the cache,
ELPA Syncer <=
- [nongnu] elpa/spell-fu 7770c005c4 47/86: Cleanup minor name change for spell-fu function name, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 866044304f 50/86: Check if faces can be used on property change, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 8f780a874c 66/86: Reduce idle overlay fragmentation, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 4fc84a9028 69/86: Fix spell-fu-directory's documentation, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 53bd2b24c6 81/86: Cleanup: add spell-fu--canonicalize-word utility function, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu a5a06e150a 02/86: Fix error comparing times of cache to word-list, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu bd00417a0e 09/86: Improve status messages when generating word-list & cache, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu afeb1fd46f 10/86: readme: add some TODO's, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu b7e5cf3d73 11/86: Fix missing checks that ispell variables are bound before use, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 30be3683b2 12/86: readme: update settings docs, ELPA Syncer, 2022/07/07