1. 03 Sep, 2014 1 commit
    • Alex Vandiver's avatar
      Standardize on the stricter Encode::encode("UTF-8", ...) everywhere · 1d18663b
      Alex Vandiver authored
      This is not only for code consistency, but also for consistency of
      output.  Encode::encode_utf8(...) is equivalent to
      Encode::encode("utf8",...) which is the non-"strict" form of UTF-8.
      Strict UTF-8 encoding differs in that (from `perldoc Encode`):
      
          ...its range is much narrower (0 ..  0x10_FFFF to cover only 21 bits
          instead of 32 or 64 bits) and some sequences are not allowed, like
          those used in surrogate pairs, the 31 non-character code points
          0xFDD0 .. 0xFDEF, the last two code points in any plane (0xXX_FFFE
          and 0xXX_FFFF), all non-shortest encodings, etc.
      
      RT deals with interchange with databases, email, and other systems.  In
      dealing with encodings, it should ensure that it does not produce byte
      sequences that are invalid according to official Unicode standards.
      1d18663b
  2. 06 Jan, 2014 2 commits
  3. 26 Jul, 2013 2 commits
  4. 07 Jan, 2013 1 commit
  5. 19 Dec, 2012 1 commit
    • Thomas Sibley's avatar
      Replace some calls to /Elements/ShowUser with Format in RT::User · c3ef8c70
      Thomas Sibley authored
      Calls which aren't in full HTML contexts should call the method to avoid
      any HTML.  This includes most loc strings, <option> contents, RSS
      elements, and autocomplete results.  Almost any call to ShowUser which
      sets NoEscape to a true value should probably be using $User->Format
      instead.
      c3ef8c70
  6. 07 Dec, 2012 1 commit
    • Thomas Sibley's avatar
      Add UTF-8 charsets to all textual Content-Types · 2b6c62b4
      Thomas Sibley authored
      Whenever the default Content-Type set in HandleRequest() from
      RT::Interface::Web is overridden, the default utf-8 character set
      parameter was lost.  When it comes to encodings, being explicit is best.
      2b6c62b4
  7. 30 Mar, 2012 1 commit
  8. 03 Jan, 2012 1 commit
  9. 15 Feb, 2011 3 commits
  10. 26 Sep, 2010 1 commit
  11. 19 Sep, 2010 1 commit
  12. 17 Aug, 2010 1 commit
  13. 29 Jul, 2010 2 commits
  14. 12 Feb, 2010 1 commit
  15. 11 Feb, 2010 1 commit
  16. 06 Jan, 2009 2 commits
  17. 27 Aug, 2008 1 commit
  18. 09 Jul, 2008 1 commit
  19. 13 Jun, 2008 1 commit
  20. 09 Jun, 2008 1 commit
  21. 14 May, 2008 1 commit
  22. 08 May, 2008 1 commit
  23. 11 Apr, 2008 2 commits
  24. 28 Feb, 2008 1 commit
  25. 26 May, 2007 3 commits
  26. 22 May, 2007 1 commit
  27. 24 Apr, 2007 2 commits
  28. 23 Jan, 2007 1 commit
  29. 18 Jan, 2007 1 commit
  30. 19 Jun, 2006 1 commit