# Japanese pages are displayed in Chinese font.

**URL:** <https://forums.screenly.io/t/japanese-pages-are-displayed-in-chinese-font/908>\
**Category:** Anthias\
**Created:** [December 1, 2022, 8:28pm UTC](https://forums.screenly.io/t/japanese-pages-are-displayed-in-chinese-font/908 "2022-12-01T20:28:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![namu76](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@namu76](https://forums.screenly.io/u/namu76)\
**Post date:** [December 1, 2022, 8:28pm UTC](https://forums.screenly.io/t/japanese-pages-are-displayed-in-chinese-font/908/1 "2022-12-01T20:28:37Z")

</div>

I tried Screenly-OSE.  
When I view a Japanese page, it is displayed in Chinese font.

I am having the same problem as just described on this site.

> **[Your code displays Japanese wrong](https://heistak.github.io/your-code-displays-japanese-wrong/)**
>
> A static site to link people to when their code is displaying Japanese wrong.

What can I do to view the page in Japanese font?

raspberry pi 3B+ Bullseye 32bit  
I installed Screenly-OSE with “bash \<(curl -sL [https://install-ose.srly.io](https://install-ose.srly.io))”.  
I set the locale to ja\_JP.UTF-8.  
When I connect with ssh, correct Japanese is displayed.

[Translated with DeepL](https://www.deepl.com/translator?utm_source=windows&utm_medium=app&utm_campaign=windows-share)

---

<div class="post-metadata">

**Author:** ![ealmonte32](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.screenly.io/ealmonte32/32/228_2.png) [@ealmonte32](https://forums.screenly.io/u/ealmonte32)\
**Post date:** [December 1, 2022, 9:19pm UTC](https://forums.screenly.io/t/japanese-pages-are-displayed-in-chinese-font/908/2 "2022-12-01T21:19:38Z")

</div>

I had helped someone before with similar issue, but his was chinese fonts.

But, it work the same, here is the github issue, you should read it and when you rebuild the containers with the japanese font package included, it should work just like it did for me and that person.

[The latest version of the development branch picture preview white screen · Issue #1498 · Screenly/screenly-ose (github.com)](https://github.com/Screenly/screenly-ose/issues/1498#issuecomment-781046776)

---

<div class="post-metadata">

**Author:** ![ealmonte32](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.screenly.io/ealmonte32/32/228_2.png) [@ealmonte32](https://forums.screenly.io/u/ealmonte32)\
**Post date:** [December 1, 2022, 10:06pm UTC](https://forums.screenly.io/t/japanese-pages-are-displayed-in-chinese-font/908/3 "2022-12-01T22:06:30Z")

</div>

Once you find the font that includes the one you need, as you can read from the github issue, you add it to the `Dockerfile.viewer`, example say the font is this one: [Debian – Details of package xfonts-shinonome in bullseye](https://packages.debian.org/stable/fonts/xfonts-shinonome)

then you go into the Pi console, edit the `./screenly/docker/Dockerfile.viewer` file, add the package `xfonts-shinonome` or whichever other font package you know will include the japanese ones you need, then edit the `./screenly/bin/upgrade_containers.sh` script and replace the `up -d` parameters with the `build` on the last line similar to how I showed on that github issue screenshot _(keep in mind that was a version of docker-compose with the whole command being one word, and now we use docker compose which is a different newer version and parameters are diff)_. This will rebuild the screenly viewer and have support for the japanese fonts.
