#1757 closed defect (fixed)
loadFile of package.mo with encoding="Windows-1252" only applies to package.mo file.
Reported by: | Adrian Pop | Owned by: | somebody |
---|---|---|---|
Priority: | normal | Milestone: | 1.9.0 |
Component: | Parser | Version: | |
Keywords: | Cc: |
Description
loadFile("Lib/package.mo", encoding="Windows-1252")
will only load package.mo with that encoding,
not all in the library which should be the case.
If you add a package.encoding where package.mo
is then loadFile("Lib/package.mo") will work.
Change History (5)
comment:1 by , 13 years ago
Component: | Backend → Parser |
---|
comment:2 by , 13 years ago
comment:3 by , 13 years ago
Why should we reject it? Just load all files in the Lib with that encoding.
The problem is that pacakge.encoding file might
not be possible to be created by the user (if the
lib is in a read only place).
comment:5 by , 12 years ago
Milestone: | → 1.9.0 |
---|
Note:
See TracTickets
for help on using tickets.
Yes, it should print that it is an error to change encoding when loading a package.mo file using loadFile and refuse to do it.