[ 
http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11398#comment-11398
 ] 

Ivo Ladage - van Doorn commented on AMDATUOPENSOCIAL-101:
---------------------------------------------------------

The problem is that the current code assumed that the HTTP service invoked 
returns the gadgetspec in UTF-8 encoding. However, the Google web services 
invoked here do not seem to respect the Accept-Charset header in the request; 
it always returns a CP1252/ISO-8859-1 encoded file. So we should use a HTTP 
client instead to retrieve the XML and read the returned charset in the 
response header, then convert the bytes to a String with the proper encoding.

> Incorrect character encoding in the Add gadget popup (title of gadget spec)
> ---------------------------------------------------------------------------
>
>                 Key: AMDATUOPENSOCIAL-101
>                 URL: http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-101
>             Project: Amdatu OpenSocial
>          Issue Type: Bug
>          Components: Gadget management
>    Affects Versions: 0.2.0
>            Reporter: Ivo Ladage - van Doorn
>             Fix For: 0.2.0
>
>
> If you add this gadget to the store: 
> http://www.google.com/ig/modules/calendar3.xml
> then the title is not displayed with the proper encoding in the 'Add gadget 
> popup'.
> The title displays as: "De offici�le Google Agenda-gadget"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to