Dashboard > WIP > ... > PHP Encoding > Results
  WIP Log In View a printable version of the current page.  
  Results
Added by Francois Denommee, last edited by Francois Denommee on Feb 25, 2010  (view change)
Labels: 
(None)

Running on Windows (default encoding is Cp1252)

Note : whenever the encoding of the PHP file is, the string is always "$retour = 'éî';" (no weird characters when converting, manually changed if not corresponding!)
Note : Forcing UTF-8 means to specify -Dfile.encoding=utf8 on the command line for Maven and JVM settings for the Eclipse plugin

Test_GPFixture1.php is Cp1252

  • Executing from the Repository View
    • Cp1252 (default) : result is ok
    • Forcing UTF-8 : result is not ok
  • Executing from Maven
    • Cp1252 (default) : result is ok
    • Forcing UTF-8 : result is ok

Test_GPFixture1.php is UTF-8

  • Executing from the Repository View
    • Cp1252 (default) : result is not ok
    • Forcing UTF-8 : result is not ok
  • Executing from Maven
    • Cp1252 (default) : result is not ok
    • Forcing UTF-8 : result is not ok

Running on Linux Ubuntu 64-bit (default encoding is UTF-8)

Test_GPFixture1.php is UTF-8

  • Executing from the Repository View
    • UTF-8 (default) : result is ok
    • Forcing Cp1252 : result is ok
  • Executing from Maven
    • UTF-8 (default) : result is ok but output is not
    • Forcing Cp1252 : result is ok but output is not

Note : specifying

<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
in the HTML file - result is ok and good

DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.3 Build:#705 Mar 21, 2007) - Bug/feature request - Contact Administrators