[Kalzium] [Bug 290200] New: "Export data" generates an non-UTF-8 enconded file

Andre Marcelo Alvarenga andrealvarenga at gmx.net
Fri Dec 30 18:33:01 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=290200

           Summary: "Export data" generates an non-UTF-8 enconded file
           Product: kalzium
           Version: unspecified
          Platform: Chakra
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kalzium at kde.org
        ReportedBy: andrealvarenga at gmx.net


Version:           unspecified (using Devel) 
OS:                Linux

In pt_BR very elements names have accents, i.e. Hidrogênio, Hélio, Berílio...

When a file is exported with "Export Data..." the result is a non-UTF-8
enconded file.

Reproducible: Always

Steps to Reproduce:
- Open Kalzium with pt_BR translations.
- Choose Arquivo (File in english) -> Exportar dados... (Export Data... in
english).
- In 'Elementos', select Hélio, Berílio and Nitrogênio.
- In 'Propriedades', select Massa atômica and Afinidade eletrônica.
- Enter a html filename.
- Click in OK button.
- Open the html file with Konqueror (or other Web Navigator)

Results: See screenshot.

Actual Results:  
non-UTF-8 enconded file

Expected Results:  
UTF-8 enconded file

If you insert the line as described below, the file opens correctly.

<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kalzium mailing list