It looks like you're new here. Sign in or register to get started.
PROCEDURE EncodedString@1000000000(Str@1000000000 : Text[1024]) : Text[1024]; BEGIN EXIT(CONVERTSTR(Str,'BJBFLASDHFDLFHBDSLHDSFdsfsajhflaskdjfha', 'asfdkjsdgfakweqr;sfdkeLDKJFDHFHSGWEPRTY')); END;
SMTP.SetSubject(EncodedString('Message on my language'));
tyrexxx wrote: You can send a message with subject 'abcdefghijklmno...' to you yourself on your language and use incoming string for convertion like this:PROCEDURE EncodedString@1000000000(Str@1000000000 : Text[1024]) : Text[1024]; BEGIN EXIT(CONVERTSTR(Str,'BJBFLASDHFDLFHBDSLHDSFdsfsajhflaskdjfha', 'asfdkjsdgfakweqr;sfdkeLDKJFDHFHSGWEPRTY')); END; and after use SMTP.SetSubject(EncodedString('Message on my language'));
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
For example if you write into subject this:
=?iso-8859-2?Q?ABC=C8DE?=
it will be showed as
ABCČDE
=C8 mean that it is character 0xC8 (character with this hexadecimal number in charset iso-8859-2 = Latin 2)
I found it in definition of Mail format....
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
and after use
there is one problem: There is not conversion 1 to 1... there is conversion 1 character to 3 character... :-)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.