Chinese text input problem.(yWriter7)

31 views
Skip to first unread message

伊凡崔克

unread,
Nov 18, 2021, 12:12:33 AM11/18/21
to yWriter
Hi Simon,
I have searched for related questions in the community, and many people have encountered the same problems as me, but obviously they have not been answered.

When we input Chinese characters, the pinyin will suddenly disappear, making it impossible to form Chinese characters. Therefore, Chinese users must first type out the article in other places, and then post it to yWriter.

We have also tested that this problem has nothing to do with the input method (any Chinese input method has a similar problem), and it has nothing to do with the function of automatically saving files (the problem occurs every few seconds instead of every five minutes).

Because of this, users of Chinese language can't use this software to input content, so I would like to ask how to solve this problem? thank you very much.
(If you need more information (such as videos), please let me know~)

Simon Haynes

unread,
Nov 18, 2021, 2:10:31 AM11/18/21
to ywr...@googlegroups.com
Hi

Does the character entry involve the right Alt button?  There's an option in yWriter to assign this to character entry instead of regular Alt use.

Otherwise I'm not sure why it wouldn't work - yWriter uses the Microsoft Rich Text control which is also used in Wordpad (Windows 7 era)


--
You received this message because you are subscribed to the Google Groups "yWriter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ywriter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ywriter/63fae225-5d0b-4625-b1fe-aee1ae86964cn%40googlegroups.com.


--

--
Visit Spacejock Software, the home of yWriter, FCharts and more
Visit spacejock.com.au for my articles on writing and publishing novels.

伊凡崔克

unread,
Nov 18, 2021, 6:47:03 AM11/18/21
to yWriter

Thanks for your reply.
The "Alt key" is not used in the input process of Chinese words.
In addition, I guess it may not be the problem with Microsoft Rich Text, please let me explain.
Chinese input requires pinyin first, and then the input method will list the wordss with the same pronunciation, and then you need to select the word you want, and then press Enter.

Therefore, to generate a Chinese word, it needs to go through three stages: pinyin, word selection, and pressing enter.

When we encounter a bug in the first stage, which is "pinyin", the "pinyin" will disappear, and then nothing will be left, we have to re-enter it.

When we encounter a bug in the second stage, which is "word selection", Ywriter will automatically select the first word and execute Enter, which causes the word selection screen to disappear. In many cases, what we need is not the first word.we have to re-enter it.

Due to the high frequency of this problem (occurring steadily every few seconds), it may be possible to think about whether there are some programs that are executed every few seconds, refresh the screen, or interrupt the input process?

Hope this clue can help you approach this issue from a different perspective.
Simon Haynes 在 2021年11月18日 星期四下午3:10:31 [UTC+8] 的信中寫道:

Simon Haynes

unread,
Nov 18, 2021, 6:56:42 AM11/18/21
to ywr...@googlegroups.com
The other thing it might be is one of auto-spell-check/auto-mark used char/loc/item or similar.

I would turn all those off.

伊凡崔克

unread,
Nov 18, 2021, 8:29:35 AM11/18/21
to yWriter
Yes, I have turned off auto-spell-check/auto-mark used char/loc/item or similar, but unfortunately the bug still exists.
After typing the first pinyin, it will disappear in about 2 to 4 seconds.
Simon Haynes 在 2021年11月18日 星期四下午7:56:42 [UTC+8] 的信中寫道:

Simon Haynes

unread,
Nov 18, 2021, 9:18:27 AM11/18/21
to ywr...@googlegroups.com
Can you install yEdit2 from my site and see if that has the same problem? It uses the same editor code as yWriter, and that will help narrow down the cause.


伊凡崔克

unread,
Nov 19, 2021, 4:17:31 AM11/19/21
to yWriter
Hi Simon,
I have downloaded and tested yEdit2. As you predicted, this BUG also exists in yEdit2, and it also occurs every few seconds.

In addition, when I was using Ywriter yesterday, it seemed that I would encounter this bug only when editing the "content" field.
Editing other fields, such as "Description", "Characters", "Locations", etc., does not have this BUG.

Hope this information can help.
Simon Haynes 在 2021年11月18日 星期四下午10:18:27 [UTC+8] 的信中寫道:

Simon Haynes

unread,
Nov 24, 2021, 7:06:26 AM11/24/21
to ywr...@googlegroups.com

Those other fields don't use the rich text box.

I'm fairly sure this issue is related to the Undo function. (This stores keypresses so you can revert them, but maybe the act of storing them is interrupting the input somehow?)

伊凡崔克

unread,
Nov 24, 2021, 7:21:46 AM11/24/21
to yWriter
Understand, thank you for your clarification, is there anything I can help with on this issue?
Simon Haynes 在 2021年11月24日 星期三下午8:06:26 [UTC+8] 的信中寫道:

Simon Haynes

unread,
Nov 24, 2021, 8:00:16 AM11/24/21
to ywr...@googlegroups.com

I might have to put together a test version of yEdit2 with extra debugging, so I can see from the log file where it's getting interrupted.

(Much easier for me to get it working in yEdit2 first, and then, since yWriter uses the same class library, it will work there too.)

伊凡崔克

unread,
Nov 24, 2021, 9:01:12 AM11/24/21
to yWriter
Sounds like a great method. I wish you success in debugging.
Simon Haynes 在 2021年11月24日 星期三下午9:00:16 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages