http://bugs.cinelerra.org/show_bug.cgi?id=466

           Summary: XML project file doesn't indicate proper character
                    encoding
           Product: Cinelerra
           Version: 2.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: File Loading
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I created a project that included a title with a foreign character in it. The
saved XML file used the ISO-8859-1 encoding for that character, but did not
indicate the encoding in the XML file header, i.e. rather than <?xml
version="1.0"?> it should have written <?xml version="1.0"
encoding="ISO-8859-1"?>. The file as is failed an XML validation with xmllint
--noout: "parser error : Input is not proper UTF-8, indicate encoding !"

A separate but related issue is why Cinelerra chose ISO-8859-1 to save the
title, given that I'm working in a UTF-8 locale. Rather than changing the XML
header, it would probably be best if Cinelerra converted all characters to
UTF-8 before writing them.

Reproducible: Always

Steps to Reproduce:
1. Create a project with a character from the ISO-8859-1 extended set.
2. Save the project to an .xml file
3. Run "xmllint --noout project.xml"

Actual Results:  
test.xml:2960: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xFC 0x73 0x63 0x68
Testing wüscabc:</TITLE>
         ^


Expected Results:  
(no error from xmllint)

Using cinelerra-2.1-1.svn1046.1plf2008.0 package on Mandriva 2008.0


-- 
Configure bugmail: http://bugs.cinelerra.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to