Album title - double encoded characters?
ajaeger
Registered Users Posts: 2 Beginner grinner
smugmug.albums.get returns double encoded characters in the title field for non-ascii characters (tested with latin 1 only), e.g. for my gallery http://ajaeger.smugmug.com/gallery/4103669_JeQY
I get:
<?xml version="1.0" encoding="utf-8"?>
<rsp stat="ok">
<method>smugmug.albums.get</method>
...
<Album id="42" Title="Fürth">
<Category id="1" Name="Fuerth"/>
</Album>
The gallery correctly displays in my firefox "Fürth" instead of "Fürth". I wonder why this encoding happens at all - this is UTF8 - and why it's double encoded.
Double encoded means: "Fürth" gets encoded to "Fürth" and then again to "Fürth".
Andreas
I get:
<?xml version="1.0" encoding="utf-8"?>
<rsp stat="ok">
<method>smugmug.albums.get</method>
...
<Album id="42" Title="Fürth">
<Category id="1" Name="Fuerth"/>
</Album>
The gallery correctly displays in my firefox "Fürth" instead of "Fürth". I wonder why this encoding happens at all - this is UTF8 - and why it's double encoded.
Double encoded means: "Fürth" gets encoded to "Fürth" and then again to "Fürth".
Andreas
0