| Summary: | (appwizard) wrong encoding for generated docbook file | ||
|---|---|---|---|
| Product: | [Developer tools] kdevplatform | Reporter: | Jonas Bähr <jonas.baehr> |
| Component: | appwizard | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jonas Bähr
2004-08-13 12:42:09 UTC
It's even worse as i just found out. I'll have a look at this issue. I had this problem too, it said:
/opt/kde/dest/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
index.docbook:53: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE1 0x62 0x6F 0x72
<surname>Gábor Lehel</surname>
^
make[3]: *** [index.cache.bz2] Error 1
After a bit of googling, I found the solution to be changing the first line of index.docbook from
<?xml version="1.0" ?>
to
<?xml version="1.0" encoding="UTF-8"?>
(assuming the encoding is actually utf8)
shouldn't this be made the default?
This bug is invalid because the wrong thing here is docbook. Any xml file without an encoding information has to be encoded in utf-8. According to my hexeditor and the existing comments the index.docbook is utf-8 encoded. |