- Timestamp:
- 09/19/08 11:30:09 (2 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
platform/firefox/FireMobileSimulator/trunk/src/components/msimStreamConverter.js
r19579 r19583 138 138 if ((this.charset == undefined || this.charset == '') 139 139 && data 140 .match(/^<\?xml(?:\s[^>]*?)?\sencoding\s*=\s*["']([^"']*)["']|<meta(?:\s[^>]*?)?\s(?:http-equiv\s*=\s*["']content-type['"](?:\s[^>]*?)?\scontent\s*=\s*["'] \s*([^"']*)["']|content\s*=\s*["']\s*([^"']*)["'](?:\s[^>]*?)?(?:\shttp-equiv\s*=\s*["']content-type['"]))/i)) {140 .match(/^<\?xml(?:\s[^>]*?)?\sencoding\s*=\s*["']([^"']*)["']|<meta(?:\s[^>]*?)?\s(?:http-equiv\s*=\s*["']content-type['"](?:\s[^>]*?)?\scontent\s*=\s*["']([^"']*)["']|content\s*=\s*["']([^"']*)["'](?:\s[^>]*?)?(?:\shttp-equiv\s*=\s*["']content-type['"]))/i)) { 141 141 var m = RegExp.$1 || RegExp.$2 || RegExp.$3; 142 142 dump("[msim]data match regexp:" + m + "\n"); 143 if (m.match(/ ^charset\s*=\s*([^\s;]+)(?:[\s;]|$)/i)) {143 if (m.match(/;\s*charset=([^\s;]+)/i)) { 144 144 var charset = RegExp.$1; 145 145 this.charset = charset;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)