Skip to content
Snippets Groups Projects
  • JediKev's avatar
    issue: Umlauts In Subject · cccdb152
    JediKev authored
    This addresses an issue where Piping email to osTicket and having Umlauts in
    the Subject line causes the Subject to be malformed. This is due to the
    `mimedecode()` method for class Format which is used by the API to transcode
    the Subject line in emails. This adds a check to see if the
    `mb_detect_encoding()` method exists so we can detect the value's encoding.
    If it exists and we can detect the value's encoding the system will
    transcode the text from the detected encoding to UTF-8. If we cannot detect
    the encoding the text will continue through the other encoding checks.
    cccdb152