Comments (3)
Thank you for the bug report and the email that you sent me with the screenshots. I will investigate further over the next few days once Christmas holidays wind down. I believe it may be related to UTF-8 to UTF-16 conversion. The form file (*.design) is a standard JSON file that is saved in UTF-8 format. When that file is read from disk, the data is stored in UTF-16 so that the various Windows controls used in WinFBE (like the Properties, etc) can display them in native Windows encoding. Maybe something is causing a problem with certain Chinese characters during this transition.
As a workaround until this issue is fixed, you can save your form code file as UTF-16 unicode (rather than ANSI) and set your various control properties via code rather than in the Property Explorer. For example, in your Form's LOAD event you could set the textbox Text property. Form1.Text1.Text = "my text"
from winfbe.
I have fixed the import of the UTF-8 JSON Design file to convert to unicode that WinFBE uses in its Win32 api based Windows controls. My limited test with Chinese characters seem to be working correctly. Please download the following ZIP archive and extract the two EXE's from the ZIP file to overwrite your existing 32 bit and 64 bit versions of your WinFBE EXE.
https://www.planetsquires.com/files/winfbe_chinese_issue.zip
Please let me know if this fixes your issue.
from winfbe.
Thank you for all your help with fixing this bug (via private email). The fixes will be in version 3.0.7 that will be released soon. Also, thanks for the information that for non-English users that they should enable "Beta: Use Unicode UTF-8 for worldwide language support" option in their WINDOWS 10 or 11 operating system. Happy New Year!
from winfbe.
Related Issues (20)
- bug: Replace-dialog selection-highlight in code window out of sync with actual highlight (2nd+ selection) HOT 1
- bug: code-folding works in lower split, but not upper HOT 1
- bug: code window function/sub drop-down follows lower split, but not upper HOT 1
- bug: Replace All sometimes skips last item HOT 1
- bug: WinFBE64 will be crash when open the \SourceCode\WinFBE.wfbe HOT 1
- Compilers path in IDE X86 and X64 HOT 1
- Freebasic compiler driver tutorial
- v3: where is the toolbox ? HOT 2
- Forum upgrade HOT 1
- Problem with ListView HOT 1
- Adding fbc to compiler setup HOT 1
- bug: bas file had been closed, open it again button click function will be Duplicated definition HOT 4
- Crash when Ctrl+S or F12 is pressed when no file is open HOT 1
- Crash in IDE HOT 1
- Problem with Frame control HOT 2
- Chinese character support HOT 14
- Instrrev missing from FreeBASIC keyword list HOT 1
- Chinese cannot be displayed properly
- Help content not showing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winfbe.