cancel
Showing results for 
Search instead for 
Did you mean: 

.eml preview shows garbled characters after upgrading to Community 7.3.0

skhrshin
Champ in-the-making
Champ in-the-making

Hi, I'm running Alfresco Community with docker-compose and facing an issue after upgrading to version 7.3.0.

I have installed Japanese fonts on the transform-core-aio container. Japanese text in plaintext and .docx files is correctly converted to PDF now. But only in .eml file, Japanese characters are displayed as question marks.

image

It didn't happen in version 7.1.0. How can I fix this issue? Is there someone having the same problem?

2 REPLIES 2

angelborroy
Community Manager Community Manager
Community Manager

It seems that the EMLTransformer didn't change in a while:

https://github.com/Alfresco/alfresco-transform-core/blob/master/engines/misc/src/main/java/org/alfre...

Any other change in your deployment from previous version?

Hyland Developer Evangelist

skhrshin
Champ in-the-making
Champ in-the-making

With the previous version, I used to install IPA fonts with the following Dockerfile:

FROM alfresco/alfresco-transform-core-aio:2.5.7

USER root
RUN yum install -y \
        ipa-gothic-fonts \
        ipa-pgothic-fonts \
        ipa-mincho-fonts \
        ipa-pmincho-fonts \
        && yum clean all

USER ${AIOUSERNAME}

With version 7.3.0, IPA fonts were not available in the distro so I chose Noto fonts:

FROM alfresco/alfresco-transform-core-aio:3.0.0

USER root
RUN yum install -y \
        google-noto-sans-cjk-ttc-fonts \
        google-noto-serif-cjk-ttc-fonts \
        && yum clean all

USER ${AIOUSERNAME}

It looks working fine with plaintext and .docx, I'm wondering why it isn't only with eml.