Hi,

I would like to send out email with utf-8 chars in the subject, using
putemail.
Technically it is working fine, except the utf-8 chars in the subject
changed to '?' characters.

Example:
I wrote the following into the subject: Hűvös van íűáéúőóüö

The result is:
H?v?s van ?????????

The source of the receiverd email looks like this:
Subject: =?ANSI_X3.4-1968?Q?H=3Fv=3Fs_van_=3F=3F=3F=3F=3F=3F=3F=3F=3F?=

This seems a little bit unprofessional.

Do I miss something trivial? I guess, I just missed something with the
environment (locales?).

I tried to find expression language possibility to do something with
the subject or character encoding, but I failed. As I remember, nifi
uses utf-8 and doesn't really care about character encoding conversion.

I did not change too much in the environment (nothing, barebone debian
11).

I use the following:
Debian 11 + Nifi 1.20

   root@nifi10:~# locale -a
   C
   C.UTF-8
   POSIX
   root@nifi10:~# java -version
   openjdk version "11.0.16" 2022-07-19
   OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1deb11u1)
   OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1deb11u1, mixed mode, 
sharing)
   
Could you give me a hint, where to find a solution? I would like to use
utf-8 chars instead of ascii.

Thank you!

István

Reply via email to