Log4cxx
  1. Log4cxx
  2. LOGCXX-59

Implement encoding support for Writer appender

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.7
    • Fix Version/s: 0.10.0
    • Component/s: Appender
    • Labels:
      None

      Description

      log4cxx 0.9.7 does not act on the encoding attribute. log4cxx should use apr-iconv to support arbitrary encodings. Ideally the most common encodings (UTF-8, UTF-16 and ISO-8859-1) would be supported without needing to distribute additional shared object files.

        Issue Links

          Activity

          Hide
          Curt Arnold added a comment -

          Added CharsetEncoder and CharsetDecoder classes. Provides support on Win32, Unixes with iconv or when wchar_t is UCS-4. Fails to compile on Solaris. Supports UTF-8, UTF-16, UTF-16BE, UTF-16LE, ISO-8859-1 and US-ASCII encodings.

          Show
          Curt Arnold added a comment - Added CharsetEncoder and CharsetDecoder classes. Provides support on Win32, Unixes with iconv or when wchar_t is UCS-4. Fails to compile on Solaris. Supports UTF-8, UTF-16, UTF-16BE, UTF-16LE, ISO-8859-1 and US-ASCII encodings.

            People

            • Assignee:
              Curt Arnold
              Reporter:
              Curt Arnold
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development