First add for test tools.
This commit is contained in:
parent
9d4551d9a8
commit
c7fe80367a
@ -1,9 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
// This source file must be UTF-8 encoded
|
// This source file must be UTF-8 encoded
|
||||||
|
|
||||||
$filename='filewithé';
|
$filename='filewithé';
|
||||||
|
|
||||||
print 'Test to create a file on disk'."\n";
|
print 'Test to create a file on disk'."\n";
|
||||||
|
print 'ENV[LANG]='.$_ENV["LANG"]."\n";
|
||||||
|
print 'ENV[LANGUAGE]='.$_ENV["LANGUAGE"]."\n";
|
||||||
|
|
||||||
|
// Si LANG contient UTF8, system en UTF8, pas de conversion requise pour fopen
|
||||||
$s=fopen('/tmp/'.$filename,'w');
|
$s=fopen('/tmp/'.$filename,'w');
|
||||||
fclose($s);
|
fclose($s);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user