1--TEST--
2cp1254 cmd test
3--SKIPIF--
4<?php
5include dirname(__FILE__) . DIRECTORY_SEPARATOR . "util.inc";
6
7skip_if_not_win();
8if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
9skip_if_no_required_exts();
10skip_if_wrong_cp(1254, "ansi");
11
12?>
13--INI--
14default_charset=cp1254
15--FILE--
16<?php
17/*
18#vim: set fileencoding=cp1254
19#vim: set encoding=cp1254
20*/
21
22include dirname(__FILE__) . DIRECTORY_SEPARATOR . "util.inc";
23
24
25$item = "�okbaytl� i�leri";
26$prefix = create_data("file_cp1254", $item, 1254);
27$fn = $prefix . DIRECTORY_SEPARATOR . $item;
28
29var_dump($fn);
30var_dump(touch($fn));
31var_dump(file_exists($fn));
32system("dir /b \"" . $fn . "\"");
33
34remove_data("file_cp1254");
35
36?>
37===DONE===
38--EXPECTF--
39string(%d) "%s\�okbaytl� i�leri"
40bool(true)
41bool(true)
42�okbaytl� i�leri
43===DONE===
44