This might be an issue with the metadata service, which is a simple servlet
that does not do much for character encoding.

For something more modern have a look at GadgetsHandler.java and the
metadata.get call.


On Mon, Jul 19, 2010 at 5:39 AM, Justin Wyllie
<[email protected]>wrote:

>
>
>
>
>
>
>
>
>
> Hi
> This may be a very silly question but...
> I have two gadgets one with an XML declaration as UTF-8 and the other as
> iso-8859-1. Both have the ModulePreds title set to Iñtërnâtiônàlizætiøn.
> Both files are correctly saved - as UTF-8 and iso-8859-1 respectively.
> In the case of the the UTF-8 one the metadata service returns the title
> with all the non-asci characters encoded as html unicode points e.g. \u00f8.
> In the case of the iso-88590-1 the metadata service returns Itrntinliztin -
> that is the title with the non-asci characters simply stripped out.
> Does this mean that Shindig / the Gadgets spec simply does not support
> character encodings other than UTF-8? The google docs say "Gadgets are
> specified in XML. The first line is the standard way to start an XML file."
> - giving a UTF-8 example. But this does not answer the question.
> Thanks
> Justin
>
>
> Get a free e-mail account with Hotmail. Sign-up now.
> _________________________________________________________________
> http://clk.atdmt.com/UKM/go/197222280/direct/01/
> Do you have a story that started on Hotmail? Tell us now
>



-- 
Paul Lindner -- [email protected] -- linkedin.com/in/plindner

Reply via email to