Bug 87115 - (appwizard) wrong encoding for generated docbook file
Summary: (appwizard) wrong encoding for generated docbook file
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: appwizard (other bugs)
Version First Reported In: 1.0.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 12:42 UTC by Jonas Bähr
Modified: 2009-01-22 23:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Bähr 2004-08-13 12:42:09 UTC
Version:           3.1.0_rc2 (using KDE KDE 3.2.3)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) 
OS:                Linux

If I create a new project (in this case a kicker-applet) there seems to be an encoding-problem. My Name is Jonas Bähr (with a german umlaut) and when I try to build the documentation (without modiving the generated file) I get the error-message then in index.docbook in line 53 (the line where my name stands) the encoding is no propper UTF-8.
A simple Save-As with encoding=utf-8 (overwriting the generated file) solves the problem.
Comment 1 Sascha Cunz 2005-05-14 18:42:45 UTC
It's even worse as i just found out. I'll have a look at this issue.
Comment 2 Gábor Lehel 2005-07-23 16:44:46 UTC
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?
Comment 3 Andreas Pakulat 2007-01-14 03:33:44 UTC
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.