Maybe a problem in keyCommandsDoc.py #844

Closed
nvaccessAuto opened this Issue Aug 21, 2010 · 2 comments

1 participant

@nvaccessAuto

Reported by msuch on 2010-08-21 09:28
As far as I understand, this module builds the keyCommands.html by extracting appropriate text from userGuide.t2t.
I have partially converted french documentation (with, this time, appropriate utf-8 code).
I think all is correct in terms of character set (see file attached) but get the following error at build:

File "D:\nvda\source\keyCommandsDoc.py", line 125, in _make
self._command(**m.groupdict())
File "D:\nvda\source\keyCommandsDoc.py", line 158, in _command
self._writeHeadings()
File "D:\nvda\source\keyCommandsDoc.py", line 189, in _writeHeadings
label="[%s]" % label if label else "")
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 28:
ordinal not in range(128)

Is it the program or is it me who miss something?

@nvaccessAuto

Attachment userGuide.t2t added by msuch on 2010-08-21 09:29
Description:
French userGuide.t2t

@nvaccessAuto

Comment 1 by pvagner on 2010-08-21 16:41
Fixed in 61c1779.
Changes:
State: closed

@nvaccessAuto nvaccessAuto added this to the 2010.2 milestone Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment