Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 04-06-2017, 04:39 AM   #1
cjunekim
Human being with feelings
 
Join Date: Dec 2016
Posts: 193
Default Character Encoding Issues with Multibyte Character Sets (CJK)

Hello

My OS is Windows 10 and I am using the most recent Reaper(x64).

There are a few defects in handling multibyte character sets in Reaper. Please have a look at the attached image.

I was trying to use the video processor vst with the text overlay preset.



1) The input method defect (the red boxes) : As you see it in the image(the plus minus A and 1/4 part), if you type in Korean in the editor, the characters are shown as garbage characters -- this is related to encoding issue. Not only that, but also the displayed characters in the video player are wrong as well.

2) Multibyte Wide Character Showing defect (the blue box) : You can type in Korean in an external text editor and copy&paste it into the reaper editor and it kind of works. However, it displays the characters as narrow-width character set. When using a fixed-width font, one Korean character will take two-character width. Hence, you see the Korean characters squashed together in the first word of the variable text. However it displays OK on the video player.

3) Font Face Name Encoding defect (the green box) : the JSFX files are saved in UTF-8. However, the font face name is in windows native locale, which is cp949 in Korean version of windows. Hence there is an encoding mismatch. So you have to name a font with a different character encoding in order to use the font. \xb1\xc3 and so on is the example. It is the name of the font encoded in cp949.

I think all the people from CJK(Chinese, Japanese, Korean) platform would suffer from all of these.
Attached Images
File Type: png reaper_multibyte2.png (47.2 KB, 328 views)
cjunekim is offline   Reply With Quote
Old 12-02-2020, 04:40 AM   #2
kyuseok
Human being with feelings
 
kyuseok's Avatar
 
Join Date: Oct 2020
Location: South Korea
Posts: 37
Default

Quote:
Originally Posted by cjunekim View Post
Hello

My OS is Windows 10 and I am using the most recent Reaper(x64).

There are a few defects in handling multibyte character sets in Reaper. Please have a look at the attached image.

I was trying to use the video processor vst with the text overlay preset.



1) The input method defect (the red boxes) : As you see it in the image(the plus minus A and 1/4 part), if you type in Korean in the editor, the characters are shown as garbage characters -- this is related to encoding issue. Not only that, but also the displayed characters in the video player are wrong as well.

2) Multibyte Wide Character Showing defect (the blue box) : You can type in Korean in an external text editor and copy&paste it into the reaper editor and it kind of works. However, it displays the characters as narrow-width character set. When using a fixed-width font, one Korean character will take two-character width. Hence, you see the Korean characters squashed together in the first word of the variable text. However it displays OK on the video player.

3) Font Face Name Encoding defect (the green box) : the JSFX files are saved in UTF-8. However, the font face name is in windows native locale, which is cp949 in Korean version of windows. Hence there is an encoding mismatch. So you have to name a font with a different character encoding in order to use the font. \xb1\xc3 and so on is the example. It is the name of the font encoded in cp949.

I think all the people from CJK(Chinese, Japanese, Korean) platform would suffer from all of these.
It's too bad that the problem is still present
kyuseok is offline   Reply With Quote
Old 12-02-2020, 09:31 AM   #3
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 13,137
Default

Fixing UTF-8 font names on Windows, thanks!

Re: displaying wide UTF-8 characters in the editor, this is tough for us to implement at the moment. The escaped UTF-8 characters are probably the way to go, or you could pull the strings from the track/item titles?

Last edited by Justin; 12-02-2020 at 11:06 AM.
Justin is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:25 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.