Ticket #2528434 (closed defect)
Reporterbzbugs |
Opened: 12/2/09 Last modified: 05/5/10 Status: closed Type: defect Resolution: fixed |
Owner Adam Moore |
Target Release: 3.1.1 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | [bz 3215572] Regression in 3.0: Get no longer uses UTF-8 as default encoding | ||
| Description: | In YUI 2.7 and earlier, the Get utility used UTF-8 as the default encoding for scripts and CSS files. In YUI 3.0, it no The test cases in Steps to Verify for bugzilla ticket 3215571 and here show the change: With YUI 2.7 (see bugzilla ticket 3215571), the string "æååã" shows up correctly on the page no matter |
||
| Type: | defect | Observed in Version: | 3.1.0 |
| Component: | Get Utility | Severity: | S3 (normal) |
| Assigned To: | Adam Moore | Target Release: | 3.1.1 |
| Location: | Priority: | P3 (normal) | |
| Tags: | Relates To: | ||
| Browsers: | N/A | ||
| URL: | |||
| Test Information: | Use a server that does not set the charset parameter in the HTTP Content-Type header for JavaScript files. Use the following two one-line scripts: mojibake-default.js: mojibake-unicode.js: and the following HTML page loading them: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <h2>Loaded using YUI Get with default charset</h2> <p id="default"></p> <h2>Loaded using YUI Get with charset=utf-8</h2> <p id="unicode"></p> <!-- YUI 3 scripts --> <script type="text/javascript"> YUI().use("node", "get", function (Y) { Y.Get.script("mojibake-default.js", { Y.Get.script("mojibake-unicode.js", { </body> When loading the page, the string "æååã" should show up twice. |
||
Change History
|
Posted: 12/10/09
|
|
Posted: 12/14/09
inserted nodes get charset="utf-8" by default [fixes #2528434]. |
|
Posted: 03/31/10
|
|
Posted: 03/31/10
|
|
Posted: 03/31/10
|
|
Posted: 03/31/10
|
|
Posted: 04/12/10
|
|
Posted: 04/12/10
|
|
Posted: 04/12/10
|
|
Posted: 04/13/10
|
|
Posted: 04/22/10
|
|
Posted: 04/27/10
Sorry wrong bug |
|
Posted: 05/5/10
|
George
inserted nodes get charset="utf-8" by default [fixes #2528434].
View Commit: