Skip to content

Commit 8da3f35

Browse files
committed
Fix gettext sanity check
1 parent dc3f3df commit 8da3f35

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/globals/ext-tests/gettext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
assert(function_exists('gettext'));
66
assert(function_exists('bindtextdomain'));
77
assert(function_exists('textdomain'));
8-
assert(function_exists('bind_textdomain_codeset'));
98

109
if (!is_dir('locale/en_US/LC_MESSAGES/')) {
1110
mkdir('locale/en_US/LC_MESSAGES/', 0755, true);
@@ -19,7 +18,6 @@
1918

2019
$domain = 'test';
2120
bindtextdomain($domain, 'locale/');
22-
bind_textdomain_codeset($domain, 'UTF-8');
2321
textdomain($domain);
2422

2523
assert(gettext(json_decode('"\u793a\u4f8b"', true)) === 'Example');

0 commit comments

Comments
 (0)