Japanese .properties source files are garbled after pushing with CLI

Description

I used both UTF‌-8 and UTF‌-8 BOM encodings. Japanese source text appeared garbled in both the production editor and the alpha editor. Please see the attached source file for details; below is an excerpt.

The garbled characters are shown in the screenshot below.

This happened on a private project I recently created (my first), at https://translate.zanata.org/webtrans/translate?project=LIFERAY&iteration=0.1&localeId=en-US&locale=en-US&dswid=-5817#view:doc;doc:Language_ja.

Environment

Windows 10 (Version 1803 Build 17134.472)

Attachments

2

Activity

Show:

Jeremy Bailey 4 January 2019 at 14:56

I thought at first that the garbling was probably happening because Zanata thinks that the source is in English. https://github.com/zanata/fake-zanata-server/issues/17 provided a hint. I tried pushing the document using .\zanata-cli.bat push --src-lang ja instead of .\zanata-cli.bat push (didn’t realize it defaults to en-US), but got the same result.

Details

Assignee

Reporter

Tested Version/s

Components

Affects versions

Priority

More fields

Created 4 January 2019 at 14:42
Updated 4 January 2019 at 14:56