summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/file.c b/win32/file.c
index 350f8da182..96fe61bad2 100644
--- a/win32/file.c
+++ b/win32/file.c
@@ -212,9 +212,9 @@ code_page(rb_encoding *enc)
names_ary = rb_funcall(encoding, names, 0);
}
- /* map US-ASCII and ASCII-8bit as code page 20127 (us-ascii) */
+ /* map US-ASCII and ASCII-8bit as code page 1252 (us-ascii) */
if (enc == rb_usascii_encoding() || enc == rb_ascii8bit_encoding()) {
- UINT code_page = 20127;
+ UINT code_page = 1252;
rb_hash_aset(rb_code_page, name_key, INT2FIX(code_page));
return code_page;
}