Jump to content
Sign in to follow this  
andyc56

Character encoding/decoding quirks?

Recommended Posts

I noticed when reading this article on room gain that there appears to be a few character encoding or decoding errors on the page.  It' looks like what was intended as an apostrophe or similar character ended up undergoing some sort of illegal conversion somewhere along the line.  It is in the text:

 

"The difference between the two measurements will show the effect the boundaries and acoustics of the space has on the subwoofer�s basic raw response as delivered to the listening position."

 

and

 

"Based on these results, we can then gauge what other subwoofers� maximum headroom and basic response shape would be in the same placement, either through looking at outdoor groundplane results such as those presented here or inside of a simulation program."

 

Looking at the HTML in a hex editor, the black diamond with question mark is the three-byte hex sequence \xef\xbf\xbd, which is the black diamond with white question mark character in a UTF-8 encoding.  I noticed the character encoding of the HTML file is listed as iso-8859-1, which seems unusual to me.  If the CMS is using UTF-8 in its database, errors can occur with some characters if trying to convert them to ISO-8859-1 for display.  UTF-8 can encode all possible Unicode characters, but ISO-8859-1 can only encode less than 256 of them.

 

Anyway, I just thought I'd mention it in case nobody had seen it.

Share this post


Link to post
Share on other sites

Context type should be utf-8, those chars need to be replaced. we'll do so with the new site. Thanks for pointing that out :)

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...