Errors occur in some browsers when using Fluid-all.js in documents without the character encoding specified

Description

In some browsers, use of the concatenated Fluid-all.js file causes erros with HTML documents that don't declare a character coding. We've traced this to a stray UTF-8 character in jQuery UI 1.5.3's ui.core.js file.

Environment

None

Activity

Show:

Michelle D'Souza January 16, 2009 at 2:37 PM

Note that the ui.core.js file works fine when used on its own even in documents that don't specify a character encoding. The problem is only visible when using the concatenated Fluid-all file.

Justin Obara January 16, 2009 at 2:36 PM

Fixed at revision r6308.

Had to use MS Word to view the file with the hidden characters visible. I deleted the problem character from ui.core.js, saved, and everthing seemed to work after that.

Justin Obara January 16, 2009 at 2:31 PM
Edited

In firebug in FF3 the error displayed as follows

Error: illegal character
line: 4684
file: fluid-all.js

That line appears like this:
/*

The illegal character "  " being directly in front of the comment

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created January 16, 2009 at 5:07 AM
Updated January 16, 2009 at 2:37 PM
Resolved January 16, 2009 at 2:36 PM