todokr / zugen

An architecture diagram generator for Scala project.
Eclipse Public License 2.0
77 stars 7 forks source link

Garbled Japanese characters #18

Closed boykush closed 3 years ago

boykush commented 3 years ago

Describe the bug Japanese characters in scaladoc are garbled.

To Reproduce For example, if you have the following class

/** 商品カタログ
  * ...
  */
case class ProductCatalog(
  ...
)

The output html is garbled.

Expected behavior It can be modified by adding the following in the head tag of html.

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>

Screenshots

スクリーンショット 2021-03-08 0 45 39

Desktop (please complete the following information):

Additional context If you like, direct the following PR to upstream. https://github.com/neppyaga/zugen/pull/1

todokr commented 3 years ago

@shiroichi315 Sorry for my late reply.

Thank you for the detailed explanation! It'll be great if you could create a pull request as you mentioned 👍

boykush commented 3 years ago

@todokr

I created a pull request #19

Please confirm!

todokr commented 3 years ago

Resolved by #19 . Thank you!