Opened 4 years ago

Closed 4 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: master
Keywords: keyCommandsDoc.py Cc:
Operating system: Blocked by:
Blocking:
Changes document entry (for developers):

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)

userGuide.t2t (52.2 KB) - added by msuch 4 years ago.
French userGuide.t2t

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by msuch

French userGuide.t2t

comment:1 Changed 4 years ago by pvagner

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.