2015-03-05 6 views
0

это вполне (кашель) простой (кашель): мне нужно настроить конфигурацию Aspell в UTF-8как кодирования настройки UTF-8 в ASpell (Linux)

когда я исполню:

aspell dump config 

получить

# conf (string) 
# main configuration file 
# default: aspell.conf 

# conf-dir (string) 
# location of main configuration file 
# default: /etc 

# data-dir (string) 
# location of language data files 
# default: <prefix:lib64/aspell-0.60> = /usr/lib64/aspell-0.60 

# dict-alias (list) 
# create dictionary aliases 

# dict-dir (string) 
# location of the main word list 
# default: <data-dir> = /usr/lib64/aspell-0.60 

# encoding (string) 
# encoding to expect data to be in 
# default: !encoding = none 

, когда я использую Aspell как это в приложении выполнения:

cat skinnyFile.tmp | aspell -a --encoding=utf-8 --lang="es" 

Результат некоторых слов типа «ах» приходит без острого: «ах ??»

спасибо за вашу помощь

ответ

1
  1. Aspell дамп конфигурации> /etc/aspell.conf

  2. CHMOD 644 /etc/aspell.conf

  3. и откройте файл aspell.conf и изменения строка:

# default: !encoding = none 

encoding utf-8