Opened 3 years ago
Closed 3 years ago
#844 closed defect (fixed)
Maybe a problem in keyCommandsDoc.py
| Reported by: | msuch | Owned by: | pvagner |
|---|---|---|---|
| Priority: | major | Milestone: | 2010.2 |
| Component: | Localisation | Version: | development |
| Keywords: | keyCommandsDoc.py | Cc: | |
| Operating system: | Blocked by: | ||
| Blocking: |
Description
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?
Attachments (1)
Change History (2)
Changed 3 years ago by msuch
comment:1 Changed 3 years ago by pvagner
- Resolution set to fixed
- Status changed from new to closed


French userGuide.t2t