[parrot/parrot] 983099: [test] sprintf counts bytes not characters

GitHub noreply at github.com
Tue Oct 14 11:36:53 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 983099920ab23aa994d428baa892f6dc5c5385a3
      https://github.com/parrot/parrot/commit/983099920ab23aa994d428baa892f6dc5c5385a3
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-14 (Tue, 14 Oct 2014)

  Changed paths:
    M t/op/stringu.t

  Log Message:
  -----------
  [test] sprintf counts bytes not characters

Add tests to t/op/stringu.t, written by moritz.
See GH #956 and rakudo bug RT#117547


  Commit: 9ec7e643bdcd9b91ca8937ad2a6ed04ca9be5053
      https://github.com/parrot/parrot/commit/9ec7e643bdcd9b91ca8937ad2a6ed04ca9be5053
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-14 (Tue, 14 Oct 2014)

  Changed paths:
    M src/string/spf_render.c
    M t/op/stringu.t

  Log Message:
  -----------
  [core] fix sprintf width for unicode

sprintf %20s string width should be counted in chars, not bytes.
Fixes GH #956.


  Commit: 56218f597d4f649e27acc1de814d8dfe71b20c16
      https://github.com/parrot/parrot/commit/56218f597d4f649e27acc1de814d8dfe71b20c16
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-14 (Tue, 14 Oct 2014)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  ChangeLog update


Compare: https://github.com/parrot/parrot/compare/f16c7074bc59...56218f597d4f


More information about the parrot-commits mailing list