[phobos] [D-Programming-Language/phobos] 8f401a: fix Issue 10125 Unicode non-BMP decoding to dchar ...

GitHub noreply at github.com
Sun Aug 4 23:59:38 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 8f401a9199b441f941717cda5ab551c4e1a86a40
      https://github.com/D-Programming-Language/phobos/commit/8f401a9199b441f941717cda5ab551c4e1a86a40
  Author: Frank van Dijk <fwvdijk at gmail.com>
  Date:   2013-05-20 (Mon, 20 May 2013)

  Changed paths:
    M std/stdio.d

  Log Message:
  -----------
  fix Issue 10125 Unicode non-BMP decoding to dchar in stdio readln

strings were first decoded to wchars, each wchar was then separately
decoded to dchar, resulting in 2 dchars in the surrogate block instead
of 1 correct dchar.

added unit test to verify readln decoding of non-ASCII characters


  Commit: a9eb2008cb2d086e8fadbf8de09d43096ab7a9d8
      https://github.com/D-Programming-Language/phobos/commit/a9eb2008cb2d086e8fadbf8de09d43096ab7a9d8
  Author: Frank van Dijk <fwvdijk at gmail.com>
  Date:   2013-05-29 (Wed, 29 May 2013)

  Changed paths:
    M std/stdio.d

  Log Message:
  -----------
  combine some statements


  Commit: 1086f2955418a4effd7e815d906460e1b137eb2d
      https://github.com/D-Programming-Language/phobos/commit/1086f2955418a4effd7e815d906460e1b137eb2d
  Author: monarch dodra <monarchdodra at gmail.com>
  Date:   2013-08-04 (Sun, 04 Aug 2013)

  Changed paths:
    M std/stdio.d

  Log Message:
  -----------
  Merge pull request #1296 from M-frankied/readln-nonbmp

fix Issue 10125 Unicode non-BMP decoding to dchar in stdio readln

Merged.


Compare: https://github.com/D-Programming-Language/phobos/compare/f7a593fe9cb0...1086f2955418


More information about the phobos mailing list