You are not logged in.

#1 2022-04-08 17:44:42

jcbecker
Member
Registered: 2022-04-08
Posts: 1

aspell not printing accents from portuguese

The interactive mode of aspell is not showing most accent and symbols. This error is either in the text part and the suggestions section.
For example the phrase: "Existe um longo histórico de erros técnicos" print as "Existe um longo hist  rico de erros t  cnicos".

This is not a font, bash, or terminal emulator problem. vim and others parts of the terminal, the accents are printed just fine.

The packages [aspell](https://archlinux.org/packages/extra/x86_64/aspell/), the dictionary [aspell-pt](https://archlinux.org/packages/communit … aspell-pt/) are up do date.
One yer ago aspell was working in portuguese and english texts, since then there have been NO updates in this packages, so I suspect that this issue is caused by and update on some aspell dependence.

The file encoded with utf-8. And I explicitly ask aspell to use utf8 and portuguese dictionary with the following command:

aspell -t -c chapters/introduction.tex --encoding=utf-8 --lang=pt_BR

The output of locale commands

$ locale -a
C
en_US
en_US.iso88591
en_US.utf8
POSIX
pt_BR
pt_BR.iso88591
pt_BR.utf8


$ localectl list-locales
en_US.UTF-8
pt_BR.UTF-8

Aspell is correcting the words correctly, the only issue is not printing characters with portuguese accents.

Last edited by jcbecker (2022-04-11 13:37:22)

Offline

#2 2022-04-08 20:40:45

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,254

Re: aspell not printing accents from portuguese

aspell dicts

Do you select some "-wo_accents" dict and what if you pick one w/ explicit support?

Also, just to be sure (in case this is some latin1 locale rather than utf-8)

locale
locale -a
localectl

If that's not the problem, try to be more specific about

not showing most accent and symbols

Offline

Board footer

Powered by FluxBB