Skip to content
Tcl Source Code History Of Ticket 3464428fffffffff
Login

History Of Ticket 3464428fffffffff

Artifacts Associated With Ticket 3464428fffffffff

  1. Ticket change [4f28ba1c83] (rid 125775) by nijtmans on 2011-12-23 15:11:49:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to: "This should give 1, but it gives 0"
    4. foundin initialized to: "obsolete: 8.5.11"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nijtmans"
    10. subsystem initialized to: "44. UTF-8 Strings"
    11. title initialized to: "string is graph \u0120 is wrong"
    12. type initialized to: "Bug"
  2. Ticket change [58c08510f7] (rid 117857) by nijtmans on 2011-12-24 07:32:21:

    1. closedate changed to: "2011-12-24T00:32:21"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      fixed on all open branches
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "nijtmans"
  3. Ticket change [0ae60f75f0] (rid 113899) by nijtmans on 2012-01-04 20:51:50:

    1. icomment:
      
      
      allow_comments - 0
      
      Re-open, because it appears that some other
      characters give wrong results with
      "string is graph" (and "string is control"):
      
      %string is graph \u00a0
      1
      %string is graph \u2028
      1
      %string is graph \u2029
      1
      
      Comparing this with the Ruby implementation:
      >/[[:graph:­]]/.match(­"\u00a0")
      => nil
      >/[[:graph:­]]/.match(­"\u2028")
      => nil
      >/[[:graph:­]]/.match(­"\u2029")
      => nil
      
      This tells us that space (\u0020) is not
      the only character that needs to be
      excluded from "string is graph", but
      all characters in the Unicode SPACE
      cathegories ("Zs", "Zl" and "Zp"), which is
      indeed more logical
      
      And, while we are on it anyway:
      %string is control \u00ad
      0
      %string is control \ue000
      0
      
      Compare this with Ruby:
      /[[:cntrl:­]]/.match(­"\u00ad")
      => #<TypeError: can't dump MatchData>
      /[[:cntrl:­]]/.match(­"\ue000")
      => #<TypeError: can't dump MatchData>
      
      This tells us that for "string is control" we
      need to take the Unicode classes "Cf"
      and "Co" in account in addition to "Cc"
      (NOT "Cs", because that's for surrogates;
      Ruby agrees with that!)
      
      All of those characters are outside of the
      ASCII range, which explains why this
      was never noticed before.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. resolution changed to: "Accepted"
    5. status changed to: "Open"
    6. username: "nijtmans"
  4. Ticket change [1b0d44794e] (rid 123079) by nijtmans on 2012-01-10 03:41:26:

    1. closedate changed to: "2012-01-09T20:41:26"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      Fixed on all open branches
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "nijtmans"