Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe a problem in keyCommandsDoc.py #844

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

Maybe a problem in keyCommandsDoc.py #844

nvaccessAuto opened this issue Aug 21, 2010 · 2 comments
Labels
bug component/i18n existing localisations or internationalisation
Milestone

Comments

@nvaccessAuto
Copy link

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
Copy link
Author

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

@nvaccessAuto
Copy link
Author

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

@nvaccessAuto nvaccessAuto added bug component/i18n existing localisations or internationalisation labels Nov 10, 2015
@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
Labels
bug component/i18n existing localisations or internationalisation
Projects
None yet
Development

No branches or pull requests

1 participant