Skip to content
Snippets Groups Projects
  1. Dec 28, 2005
  2. Aug 02, 2005
  3. Jul 27, 2005
  4. Jun 22, 2005
  5. Jun 17, 2005
  6. Jun 16, 2005
  7. Jun 13, 2005
  8. May 18, 2005
  9. Apr 21, 2005
  10. Mar 05, 2005
  11. Feb 23, 2005
  12. Feb 14, 2005
  13. Feb 11, 2005
  14. Jan 13, 2005
  15. Jan 07, 2005
  16. Jan 06, 2005
  17. Dec 29, 2004
  18. Dec 28, 2004
  19. Dec 01, 2004
  20. Nov 18, 2004
  21. Sep 24, 2004
  22. Sep 23, 2004
  23. Sep 17, 2004
  24. Sep 14, 2004
  25. Sep 08, 2004
  26. Aug 20, 2004
  27. Jul 23, 2004
  28. Jul 09, 2004
  29. Jun 30, 2004
  30. Jun 15, 2004
  31. Apr 22, 2004
  32. Apr 15, 2004
  33. Mar 02, 2004
  34. Feb 28, 2004
    • James David Berry's avatar
      Revise the Mac OS Transcoder to use the Mac Text Encoding Converter, · 54480469
      James David Berry authored
      rather than the previously used Unicode Converter. The TEC allows
      transcoding between a broader variety of encoding formats, while
      the unicode converter converts only to and from Unicode.
      
      This change allows us to use UTF-8 as the Local Code Page if we
      choose. In this version, pending further feedback, I've changed the
      LCP to UTF-8 if Xerces is running on Mac OS X. This provides explicit
      support for running Xerces samples off the command line, when the
      character set encoding in the terminal is UTF-8, and is consistent
      with other unix tools that expect parameters in UTF-8.
      
      As part of re-implementing the transcoder, I've also simplified it:
      
       - I took out support for size mismatch between XMLCh and UniChar.
         This version assumes XMLCh will always be 16-bit UTF-16.
      
       - The LCP transcoder is now completely generic. It is implemented
         strictly in terms of the virtual transcoder interface. As such,
         any XMLTranscoder can be passed in as the transcoder to fullfill
         the LCP transcoding.
      
      Additionally, since LCP transcoders are used globally, I added a
      mutex that serializes use of the LCP transcoder such that it can
      be actively used in only one thread at a time.
      
      Feedback is welcomed.
      
      PR:
      Obtained from:
      Submitted by:
      Reviewed by:
      
      
      git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@175793 13f79535-47bb-0310-9956-ffa450edef68
      54480469
Loading