PDA

View Full Version : [CLOSED][3.0.0] IE6 ONLY - Syntax Error line 1 when using locales



debutant
10 Aug 2009, 1:28 PM
Hi,
I am experiencing some strange error when using the locale languages that comes with Ext. The error appears only with IE6 and does not affect the loading of the page.

When I have a link to a language pack like ext-lang-es.js IE6 throws the error "Syntaxt Error Line 1". And when I select to debug, it mentions line 1 from that file, which does not make sense.

Does anyone has any idea please?

mystix
10 Aug 2009, 5:56 PM
it would help if you could provide details as per
http://extjs.com/forum/showthread.php?t=71015

Condor
10 Aug 2009, 10:37 PM
Don't know if this helps, but the locale files are UTF-8.

If you are not loading a locale file from an UTF-8 html page you should include them using:

<script type="text/javascript" charset="UTF-8" src="ext-3.0.0/src/locale/ext-lang-es.js" />

mjlecomte
29 Aug 2009, 5:31 AM
There has been no update to this thread in some time, updating status of this thread to CLOSED. Please post information requested to reopen.