To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=57113
                  Issue #:|57113
                  Summary:|(X)HTML file import: encoding wrong & <?xml ?> shown
                          |verbosely
                Component:|Word processor
                  Version:|OOo 2.0 Beta
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|open-import
              Assigned to:|mru
              Reported by:|burnus





------- Additional comments from [EMAIL PROTECTED] Tue Nov  1 03:00:19 -0800 
2005 -------
This is with SUSE's OpenOffice_org-1.9.125-5 (of SL 10.0).

If I import a XHTML file, the encoding is ignored (UTF-8 is given in the file,
UTF-8 is locale ($LANG), but OOo assumes seemingly ISO-8859-1).

Furthermore, the <?xml ?> line is shown verbosely

For encoding, one should probably look at <?xml encoding?> if present and
otherwise for the <meta http-equiv="content-type" content="text/html;
charset=iso-8859-1" />
The <?xml ?> should never be printed!

My HTML file (read from the filesystem) starts with:
----------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
">
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en" dir="ltr">

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to