Sign in to follow this  
Followers 0
andyc56

Character encoding/decoding quirks?

2 posts in this topic

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 :)

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0