Closed mjonsson1986 closed 5 years ago
cc: @leonardder, @Andre9642.
It's likely a quick fix, like an errors="surrogatepass"
argument to pass.
@leonardder what do you think? Should we modify the Python binding or try to fix on the NVDA side rather?
OK, now I confirm the issue. I'll fill an issue on Liblouis repo and make a PR shortly.
Finally, @leonardder has already fixed this issue in https://github.com/liblouis/liblouis/pull/784. This will be fixed in Liblouis 3.11 (begin of september)
seems it only happen with some emails in the mail app when you are in the mail list and e.g press down arrow ERROR - eventHandler.executeEvent (16:42:52.007): error executing event: becomeNavigatorObject on <NVDAObjects.Dynamic_MailItemRowListItemUIA object at 0x014A8DF0> with extra args of {'isFocus': True} Traceback (most recent call last): File "eventHandler.pyc", line 155, in executeEvent File "eventHandler.pyc", line 92, in init File "eventHandler.pyc", line 100, in next File "NVDAObjects__init.pyc", line 1061, in event_becomeNavigatorObject File "braille.pyc", line 1963, in handleReviewMove File "braille.pyc", line 1839, in _doNewObject File "braille.pyc", line 1520, in getFocusRegions File "braille.pyc", line 619, in update File "braille.pyc", line 429, in update File "louisHelper.pyc", line 65, in translate File "louis__init.pyc", line 171, in translate File "louis\init__.pyc", line 57, in
UnicodeEncodeError: 'utf-32-le' codec can't encode character '\ude6a' in position 111: surrogates not allowed
ERROR - eventHandler.executeEvent (16:48:10.629):
error executing event: becomeNavigatorObject on <NVDAObjects.Dynamic_MailItemRowListItemUIA object at 0x0132D630> with extra args of {'isFocus': True}
Traceback (most recent call last):
File "eventHandler.pyc", line 155, in executeEvent
File "eventHandler.pyc", line 92, in init
File "eventHandler.pyc", line 100, in next
File "NVDAObjects\init.pyc", line 1061, in event_becomeNavigatorObject
File "braille.pyc", line 1963, in handleReviewMove
File "braille.pyc", line 1839, in _doNewObject
File "braille.pyc", line 1520, in getFocusRegions
File "braille.pyc", line 619, in update
File "braille.pyc", line 429, in update
File "louisHelper.pyc", line 65, in translate
File "louis\init.pyc", line 171, in translate
File "louis\init__.pyc", line 57, in
UnicodeEncodeError: 'utf-32-le' codec can't encode character '\ude6a' in position 111: surrogates not allowed
latest nvda dev snapshot of 2019.3