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

Metadata

Source
FLUID-2134
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
Michelle D'Souza
Reporter
Colin Clark
Created
2009-01-16T00:07:38.000-0500
Updated
2009-01-16T09:37:13.000-0500
Versions
  1. 0.6
Fixed Versions
  1. 0.7
Component
  1. Framework

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.

Comments

  • Justin Obara commented 2009-01-16T09:31:00.000-0500

    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

  • Justin Obara commented 2009-01-16T09:36:49.000-0500

    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.

  • Michelle D'Souza commented 2009-01-16T09:37:13.000-0500

    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.