HiraokaHyperTools / msgreader

35 stars 9 forks source link

subject with ( 畑㵲応イ瑤㵨㠱 ) UTF Characters becomes as ??? #17

Closed mynpmpackage closed 2 years ago

mynpmpackage commented 3 years ago

if subject has utf symbols / 畑㵲応イ瑤㵨㠱 then subject is becoming as ??? ,

tried with node cli parse

image

Could you please help how to enable support for utf symbols in parser

kenjiuno commented 3 years ago

Hi. I need the sample to verify, could you please supply the msg you have tested to mail ku@digitaldolphins.jp?

mynpmpackage commented 2 years ago

it is a normal email having empty email body by only having subject with these characters 畑㵲応イ瑤㵨㠱

Used node cli parser and cli parses and gives us ???

problems seems by having Chinese or Russian languages "畑㵲応イ瑤㵨㠱" in subject.

kenjiuno commented 2 years ago

Ok

And then, what kind of OS are you using?

At least Japanese Windows 10 seems to process (decode and display) the subject having Unicode-specific characters.

2021-09-26_21h53_46

Or it may be the problem of the console display capability.

Try: node cli parse test\unicode1.msg > output.txt

And then observe output.txt in GUI text editor other than the console.

mynpmpackage commented 2 years ago

You are correct, I see the characters are being read in output.txt

There is no issue with the parser and we can close this defect.

Thank you so much for quick response.