Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

UTF-8 java.io.UnsupportedEncodingException - SilverStripe Bug?


Reply


4 Posts   1645 Views

Avatar
purplespider

Community Member, 82 Posts

26 May 2011 at 3:28am

I use [url=https://browserlab.adobe.com/]Adobe BrowserLab[/url] to test my sites in multiple browsers, recently I've discovered all my SilverStripe sites had stopped working in BrowserLab, I would only get this message:

This happens on sites that used to work fine in BrowserLab that haven't been touched, and even the SilverStripe demo site at demo.silverstripe.org.

So I posted on the BrowserLabs forum, and here is a reply from their developer:

"When I preview http://demo.silverstripe.org/ on my dev browser server errors are generated when decompressing the main page - java.io.UnsupportedEncodingException: "UTF-8". I checked another page that uses gzip compression and UTF-8 encoding and it works fine - http://shop.cascade.org/. This leads me to believe that there perhaps is a problem with the encoding on the pages this person is previewing."

Their full reply is here: http://forums.adobe.com/message/3696408#3696408

So is this a SilverStripe bug?

Avatar
martimiz

Forum Moderator, 1098 Posts

26 May 2011 at 9:45pm

Hi,

I can confirm to this - I get the same in IE9 for each and every SilverStripe site. In FireFox the screen just stays white... Did you try a fresh 245 install? If not, I'll do that...

Please keep me (us) posted on any new developments...

Martine

Avatar
martimiz

Forum Moderator, 1098 Posts

26 May 2011 at 10:20pm

I don't think it can be the actual contents of the page, because BrowserLab works fine with static content generated for the same page. (get the dynamic version for the same page by adding ?1=1 to the url)

Avatar
tharkun

Community Member, 1 Post

28 June 2011 at 5:06am

This is indeed a problem which many SilverStripe users have with Adobe BrowserLab. There is an issue open at the Adobe forums too. Please look into it!