1--TEST--
2Kartuli UTF-8 cmd test
3--SKIPIF--
4<?php
5include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
6
7skip_if_not_win();
8if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
9skip_if_no_required_exts();
10
11?>
12--CONFLICTS--
13file_kartuli
14--FILE--
15<?php
16/*
17#vim: set fileencoding=cp874
18#vim: set encoding=cp874
19*/
20
21include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
22
23
24$item = "ქართველები55";
25$prefix = create_data("file_kartuli", $item);
26$fn = $prefix . DIRECTORY_SEPARATOR . $item;
27
28var_dump($fn);
29var_dump(touch($fn));
30var_dump(file_exists($fn));
31system("dir /b " . $fn);
32
33remove_data("file_kartuli");
34
35?>
36--EXPECTF--
37string(%d) "%s\ქართველები55"
38bool(true)
39bool(true)
40ქართველები55
41