FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 25.06.1 some fix AND TGET utf8 fix
Posts: 129
Joined: Mon Oct 17, 2005 03:03 AM
FWH 25.06.1 some fix AND TGET utf8 fix
Posted: Thu Sep 18, 2025 08:51 AM
https://www4.zzz.com.tw/phpBB3/viewtopic.php?f=2&t=366&p=406#p406

Please forgive me for using Traditional Chinese.

TBtnBmp some fix.

TMultiGet some fix.

TGet utf8 some fix(include source code tget.prg):
解決: 連續使用新注音輸入法,輸入好幾個中文字,按下[Enter],游標第一次沒問題,第二次再連續輸入幾個中文字,按下[Enter],游標會回到第一次輸入完中文字的地方,向右移動,又跑到最後中文字地方+1的位置.
解決: 解決按下鍵盤 [Insert] 後游標會跑到第一個位置去問題.
解決: 使用滑鼠選取、剪下,游標會跑到第一個位置去,正確應該在選取區的起始位置才對!!
解決: 如果使用 PICTURE,例如:PICTURE "@R 9999.99.99",使用滑鼠選取、剪下,資料、格式會不見問題.
解決: 如果使用 PICTURE,例如:PICTURE "@R 9999.99.99",使用滑鼠選取、貼上,資料、格式會亂掉問題.
解決: 如果沒有使用 PICTURE 的字串,含有英文、數字的長度會計算錯誤問題.
解決: utf8 字串的 VK_BACK、VK_LEFT、VK_RIGHT 游標錯誤問題.
解決: VK_DELETE 向右邊選擇資料,然後按下 [delete]、再按下鍵盤向右移[right],游標會跳好幾格問題.
解決: ANSI 下刪除、往回刪除亂碼問題.
line ID: ssbbstw

WeChat ID: ssbbstw
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 25.06.1 some fix AND TGET utf8 fix
Posted: Thu Sep 18, 2025 10:38 AM
Dear WenSheng,

Many thanks for your fixes :!:

We have included them for next FWH 25.09 version.
Problem
When using the [Microsoft New Bopomofo IME] to input Chinese characters, the cursor behaves incorrectly.

Scenario
On the first input of "中文測試" and pressing [Enter], the cursor correctly appears after the character "試", with no issues.
However, when inputting "中文測試" again and pressing [Enter], the cursor jumps back to the position after the first "試" — strange, right!!
But if you enable the [Use the old version of Microsoft Bopomofo] option in Windows Settings > Time & Language > Language & Region > Options > Microsoft Bopomofo > General > Compatibility, then this problem doesn't occur.
Interestingly, enabling that option makes the issue disappear.
Q: When pressing the [Insert] key on the keyboard, does the cursor jump back to the first position?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 25.06.1 some fix AND TGET utf8 fix
Posted: Thu Sep 18, 2025 10:41 AM
whatsnew.txt new entry:
* Fix: TGet in UTF8 mode (including references to the source code in tget.prg).

Solution: When continuously using the New Phonetic Input Method to input several Chinese characters, pressing [Enter] works
fine the first time, but on the second time when inputting several more Chinese characters and pressing [Enter], the cursor
returns to the position after the first input of Chinese characters, moves right, and then jumps to the position after the
last Chinese character +1.

Solution: Fix the issue where pressing the keyboard [Insert] key causes the cursor to jump to the first position.

Solution: When selecting and cutting with the mouse, the cursor jumps to the first position; it should correctly stay at the
starting position of the selected area.

Solution: If using PICTURE, for example: PICTURE "@R 9999.99.99", selecting and cutting with the mouse causes the data and
format to disappear.

Solution: If using PICTURE, for example: PICTURE "@R 9999.99.99", selecting and pasting with the mouse causes the data and
format to become messed up.

Solution: For strings without PICTURE that contain English and numbers, the length calculation is incorrect.

Solution: Cursor error issues with UTF8 strings for VK_BACK, VK_LEFT, VK_RIGHT.

Solution: When selecting data to the right with VK_DELETE, then pressing [delete] and then pressing the keyboard right arrow
[right], the cursor jumps several spaces.

Solution: Garbled text issues under ANSI when deleting or back-deleting.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 129
Joined: Mon Oct 17, 2005 03:03 AM
Re: FWH 25.06.1 some fix AND TGET utf8 fix
Posted: Thu Sep 18, 2025 02:38 PM
Antonio Linares wrote: Dear WenSheng,

Many thanks for your fixes :!:

We have included them for next FWH 25.09 version.
Then, can you share a 25.09 version test with me to see how the modification results are? :wink: :wink:
line ID: ssbbstw

WeChat ID: ssbbstw
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 25.06.1 some fix AND TGET utf8 fix
Posted: Thu Sep 18, 2025 04:03 PM
Dear WenSheng,

We are preparing FWH 25.09 and we will email it to you in a while :wink:

many thanks :!:
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 25.06.1 some fix AND TGET utf8 fix
Posted: Fri Sep 19, 2025 07:00 AM

Dear WenSheng,

FWH 25.09 32 & 64 bits already sent to your email

many thanks

best regards

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion