the preferences can't show chinese word

• Mar 15, 2016 - 16:41

in preferences in I/O
the device can't show chinese word right
just with ???????????
 (5).png


Comments

Can you clarify what "can't input chinese and display chinese" means? Does that mean that when you press a key on your keyboard nothing shows up, or something else? Can you take a screenshot of what you see which clearly demonstrates the problem?

In reply to by Thomas

Qt has nothing to do about it. It's portaudio which get the device names here https://github.com/musescore/MuseScore/blob/e5786f3f8dbb6ef36356d3d7201…
Our conversion to QString is probably a bit too harsh and we assume UTF-8 and in this case it's not UTF-8... but how can we get the encoding of the string?
We could try with http://doc.qt.io/qt-5/qstring.html#fromLocal8Bit instead but I have no way to test.

I pushed it in this commit https://github.com/musescore/MuseScore/commit/bc9bc93c4694e2baf544e7e37…

Please test with a nightly

In reply to by Barbarasko

showing chinese problem solved in nightly version
there are two way of inputing chinese
1. spell the sound of a word
2. spell the shape of a word
during the spelling, chinese people need to see the inputing process

Animation.gif

but when typing chinese in musescore, the process of typing can't show
so i don't know what i am typing

In reply to by [DELETED] 5

yes, it can work in ordinary software dialog
it can't showing "spelling of a word as gif (working in background without seeing)" in the editing space like text box, lyric box, etc.

typing in sound or shape of a word is a IME temp situation
many words have the same sound or shape
so we chinese need to pick a right word
and typing many words in a time in a temp situation
finally all words are right and key "Enter" for those words out of the temp situation and those words will output from the IME to the cursor

so musescore need to support chinese ime temp situation as the gif

In reply to by hongdazhi

It seems to same in Japanese.

P1.
CJK device name is broken

P2.
Cannot entering CJK characters (not showing conversion window)

P1 and P2, is a completely different problem.
P1 is already fixed by lasconic's nightly version.

Another problem P2 is still remaining, slightly.

P2.1
(sometimes or always) not showing conversion window during entering key.

P2.2
After CJK string input, the string is not updated.
It is updated after "Press IM On/Off key" or "Press right arrow key".

In reply to by knoike

@knoike Thank you for breaking down the issue. Very helpful!

@hongdazhi the link to EasyIME is interesting, but we will need an implementation in Qt. So we'll look further to find help from a Qt developer who is expert in these matters. We'll come back to this issue as soon as we have some progress to share. Thank you for your patience.

In reply to by hongdazhi

@hongdazhi Thanks for sharing that screenshot. This definitely helps us to understand how we can make a solution to this problem. Could you perhaps even create a screencast (small video)? I personally don't have Finale so this will help me to understand how this should work.

In reply to by Jojo-Schmitz

I seem to be able to type just fine with PIME 0.16.1 release (Dec 17, 2016) installed from that github link:

Screenshot (205)_.png

You can see that the IME box displays correctly just below the cursor. This was an issue I fixed with https://github.com/musescore/MuseScore/commit/1c130f43d132c4b36069ce188…. I'm on Windows 10 x86-64, running MuseScore 2.1.0 release candidate fecf0a7, which includes that fix. Could you please try with the latest MuseScore 2.1 nightly and report back? (http://prereleases.musescore.org/windows/nightly/)

Do you still have an unanswered question? Please log in first to post your question.