diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-05 08:38:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-05 08:38:39 +0000 |
commit | 8d564597fa928ab5d70cdd8e9d0b603c99ebab11 (patch) | |
tree | df097c697ee47017432548587698c3192f329d30 /ChangeLog | |
parent | 0f6cd1bb10eab7d9a6fd623f9d7ae77cd2d87cef (diff) | |
download | ruby-8d564597fa928ab5d70cdd8e9d0b603c99ebab11.tar.gz |
win32.c: conversion to WCHAR
* win32/win32.c (rb_w32_write_console): use MultiByteToWideChar() for
the last step of conversion to WCHAR, to get rid of warnings from
rb_enc_find() in miniruby. [ruby-dev:47584] [Bug #8733]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ -Mon Aug 5 17:33:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> +Mon Aug 5 17:38:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * win32/win32.c (rb_w32_write_console): use MultiByteToWideChar() for + the last step of conversion to WCHAR, to get rid of warnings from + rb_enc_find() in miniruby. [ruby-dev:47584] [Bug #8733] * win32/win32.c (wstr_to_mbstr, mbstr_to_wstr): fix wrong trimming. WideCharToMultiByte() and MultiByteToWideChar() do not count |