Re: orca and encoding problem
- From: Samuel Thibault <samuel thibault ens-lyon org>
- To: Olivier BERT <obert01 mistigri org>
- Cc: gnome-accessibility-list gnome org
- Subject: Re: orca and encoding problem
- Date: Tue, 11 Apr 2006 14:15:50 +0200
Hi,
Olivier BERT, le Tue 11 Apr 2006 11:44:47 +0200, a écrit :
> I just installed orca and it seems to work well.
> I only have one problem. The speech works well but the braille display
> doesn't displays accents correctly (I am french). On my braille display,
> I can recognize the UTF8 encoding of the letter but not the
> one-character braille representation of the character.
Do you mean that you are getting the byte UTF-8 representation of
characters instead of characters themselves? (I.e. you are getting "é"
instead of "é" ?)
It looks like orca doesn't care about charsets. If it always gets UTF-8
text, brl_module_writeText() should rather do
if (brl_initialized) {
brlapi_writeStruct ws = BRLAPI_WRITESTRUCT_INITIALIZER;
ws.text = str;
ws.charset = "UTF-8";
ws.cursor = cursor;
brlapi_write(&ws);
}
BTW, orca doesn't check the result of brlapi_*() function. It should, and
call brlapi_perror() on errors.
Regards,
Samuel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]