[Javascript] Re: Charset (sort-of OFF_TOPIC for js)

Scott Reynen scott at randomchaos.com
Mon Aug 14 09:14:11 CDT 2006


On Aug 14, 2006, at 8:39 AM, tedd wrote:

> My IDE does not give a clear (at least to me) indication of what  
> encoding is being used to save documents. I now may be faced with  
> re-saving thousands of documents -- arrggg.

That may be an entirely pointless exercise, depending on your  
documents.  If they are all ASCII text, they are already UTF-8, as  
UTF-8 is a superset of ASCII.  So saving ASCII documents with UTF-8  
encoding shouldn't change the bits at all.  Also, it's not likely to  
have any effect on the Content-type headers sent by your server,  
because those aren't generally determined by examining the documents  
themselves.  So if you're not actually having a problem, I wouldn't  
recommend trying to fix it.

Peace,
Scott




More information about the Javascript mailing list