Bug 133793

Summary: Failed to restore playlist at start if it have russian names ( Failed XML...)
Product: [Applications] amarok Reporter: Ildar Nurislamov <absorbb>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: normal CC: johnnyfu
Priority: NOR    
Version: 1.4.3   
Target Milestone: ---   
Platform: FreeBSD Ports   
OS: FreeBSD   
Latest Commit: Version Fixed In:

Description Ildar Nurislamov 2006-09-09 08:31:19 UTC
Version:           1.4.3 (using KDE KDE 3.5.4)
Installed from:    FreeBSD Ports
OS:                FreeBSD

If i have closed amarok with playlist contained russian songs, when i start amarok again i receive popup with text about error in structure of XML file and one line of ugly characters instead of my playlist.
In log:
file:///usr/home/voxel/.kde/share/apps/amarok/current.xml: Error loading XML: "tag mismatch", at line 26, column 8.

I think it because XML file have header "<?xml version="1.0" encoding="utf-8"?>"
but store russian tags in KOI8-R:
 <item url="file:///home/music/%E4%C5%CC%D8%C6%C9%CE/%E7%CC%D5%C2%C9%CE%C1%20%D2%C5%DA%CB%CF%D3%D4%C9/01%20-%20%ED%CF%CC%CF%CB%CF.mp3" uniqueid="0ab18f02921885195dcda4182725a061" >
  <Filename>01 - Молоко.mp3</Filename>
  <Title>Молоко</Title>
  <Artist>Дельфин</Artist>
  <Composer></Composer>
  <Year>0</Year>
  <Album>Глубина резкости</Album>
  <DiscNumber>0</DiscNumber>
  <Track>1</Track>
  <BPM>0</BPM>
  <Genre></Genre>
  <Comment></Comment>
  <Directory>/home/music/Дельфин/Глубина резкости</Directory>
  <Type>1</Type>
  <Length>106</Length>
  <Bitrate>256</Bitrate>
  <SampleRate>44100</SampleRate>
  <Score>-2</Score>
  <Rating>0</Rating>
  <PlayCount>-2</PlayCount>
  <LastPlayed>2</LastPlayed>
  <Mood></Mood>
  <Filesize>3383514</Filesize>
 </item>
Comment 1 Seb Ruiz 2006-09-09 14:21:42 UTC
*** Bug 133806 has been marked as a duplicate of this bug. ***
Comment 2 Seb Ruiz 2006-09-09 14:29:33 UTC

*** This bug has been marked as a duplicate of 133613 ***