General

Profile

emk (Masatoshi Kimura)

  • Login: emk
  • Registered on: 10/28/2016
  • Last sign in: 12/30/2018

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

05/25/2018

08:48 PM Ruby Misc #12474: Wishlist for Windows Unix compatibility features
> Remove a file which is opened by another process
Fall Creators Update added FILE_DISPOSITION_POSIX_SEMANTICS.
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/ntddk/ns-ntddk-_file_disposition_information_ex
...
emk (Masatoshi Kimura)

10/29/2016

08:15 AM Ruby Feature #12877: windows-1255とUnicode間の変換テーブルがWindowsの実装と一致しない
その後VMにファイルを送り込むことに成功しました。IE4がインストールされていないWindows NT 4.0でも、windows-1255のマッピングテーブルはWindows 10と同じでした。というわけで題名を戻します。
東アジア言語版のWin9xはRTL言語をサポートしていないため[1]、Win9xについては結局確認できませんでした。
[1] https://msdn.microsoft.com/ja-jp/library/cc389892.aspx
emk (Masatoshi Kimura)
02:23 AM Ruby Feature #12877: windows-1255とUnicode間の変換テーブルがWindowsの実装と一致しない
0xCA→U+05BAのマッピングは少なくともWindows 2000から存在するので、変更されたわけではないです(それ以前のOSはいつの間にかVMwareでゲストにファイルを送り込むことができなくなっていて、確認できませんでした)。
U+05BAが追加されたのはUnicode 5.0 (2006年)なのに、なぜそれよりはるか前からマッピングが存在するのかは謎ですが。
emk (Masatoshi Kimura)

10/28/2016

12:00 PM Ruby Feature #12877 (Closed): windows-1255とUnicode間の変換テーブルがWindowsの実装と一致しない
○再現手順
ruby -e 'printf("%#x\n", 0xCA.chr("windows-1255").encode("UTF-8").ord)'
○実際の結果
-e:1:in `encode': "\xCA" to UTF-8 in conversion from Windows-1255 to UTF-8 (Encoding::UndefinedConversionError)
from -e:1:in `<main>'
○...
emk (Masatoshi Kimura)

Also available in: Atom