Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-274

CharsetDetector.setDeclaredEncoding has no effect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4, 0.5
    • 0.5
    • parser
    • None

    Description

      In TXTParser.java we may read:

      // Use the declared character encoding, if available
      String encoding = metadata.get(Metadata.CONTENT_ENCODING);
      if (encoding != null)

      { detector.setDeclaredEncoding(encoding); }

      But it seems to be not implemented feature.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            bartex Piotr Bartosiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: