Index: trunk/tools/ToolserverI18N/public_html/demo/demo6.php |
— | — | @@ -51,7 +51,7 @@ |
52 | 52 | ); |
53 | 53 | |
54 | 54 | // GetAcceptableLanguages |
55 | | -echo "<br />getAcceptableLanguages: (default: \$_SERVER['HTTP_ACCEPT_LANGUAGE']: {$_SERVER['HTTP_ACCEPT_LANGUAGE']}):<br />"; |
| 55 | +echo "<br />getAcceptableLanguages: (default: \$_SERVER['HTTP_ACCEPT_LANGUAGE']: ", htmlspecialchars( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ), "):<br />"; |
56 | 56 | var_dump( |
57 | 57 | |
58 | 58 | TsIntuitionUtil::getAcceptableLanguages( @$_SERVER['HTTP_ACCEPT_LANGUAGE'] ) |