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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

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


Go to End


4 Posts   2692 Views

Avatar
purplespider

Community Member, 89 Posts

26 May 2011 at 3:28am

I use Adobe BrowserLab 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, 1391 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, 1391 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!