From: goatship4@... Date: 2018-07-27T08:26:32+00:00 Subject: [ruby-dev:50597] [Ruby trunk Bug#14942] Windows7でコンソールに長い文字列を出力できない Issue #14942 has been reported by yagisu (Sumi Yagi). ---------------------------------------- Bug #14942: Windows7でコンソールに長い文字列を出力できない https://bugs.ruby-lang.org/issues/14942 * Author: yagisu (Sumi Yagi) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- WindowsのRubyは、WriteConsoleWでコンソールに文字を出力していますが、 Windows7では、WriteConsoleで書き出せるバッファのサイズは61KB程度が限界のようです。 (WriteConsoleWで"あ"が31366文字まで、WriteConsoleAで"a"が62733文字まででした。) 長い文字列を出力する時は、小分けにして書き出してくれるとありがたいです。 ※ Windows10では問題ありません。 -- https://bugs.ruby-lang.org/