Skip to content

Commit 2e3903b

Browse files
committed
fix cli codepage reset
1 parent 6955790 commit 2e3903b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win32/codepage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ PW32CP const struct php_win32_cp *php_win32_cp_do_update(const char *enc)
387387
cur_cp = php_win32_cp_get_by_enc(enc);
388388

389389
if (!strcmp(sapi_module.name, "cli")) {
390-
php_win32_cp_cli_update();
390+
php_win32_cp_cli_do_setup(cur_cp->id);
391391
}
392392

393393
return cur_cp;

0 commit comments

Comments
 (0)