Comments (14)
By default, new files are opened using "ANSI" mode. You will need to switch the file to either "UTF-8 (BOM)" or "UTF-16 (BOM". You do that by clicking on the area in the status bar (located in the bottom right of the editor) and then select the file format.
from winfbe.
from winfbe.
Hi, did you intend to post a screenshot or a log output? All I see in your message is the result is "Quick run."
Also, are you using version 3.0.8 and the WinFBE_Suite that includes the FB compiler?
from winfbe.
from winfbe.
Sorry. I can not .
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files
Maybe you could post here a small snippet of your Chinese code and I will try to run it on my machine to see what error messages are generated.
from winfbe.
from winfbe.
Here are the snapshots. Previously I have replied on the email, so the attached pictures was missing.
Quick Run
I have an idea that Can WinFBE have the function of "Open Declaration" like in the "Eclipse IDE"
from winfbe.
Hi, thank you for the additional details. I have found an error in the "Quick Run" code that would cause display errors. Because I do not have a Chinese Windows version, I used the following source code to test:
I have also uploaded new EXE's for you to test. Simply replace your existing WinFBE EXE's with the ones in the zip archive.
https://www.planetsquires.com/files/chinese_quickrun_test.zip
Please let me know if the problem is fixed.
#include "Afx/AfxWin.inc"
' Comment the following line to enable/disable the
' Chinese code page for console output. The Print
' statement to the console window will look differently
' depending on whether the correct code page is set.
SetConsoleOutputCP(936)
' Using WinFBX's dynamic CWSTR class
dim as CWSTR text1
text1 = "吉伊杰杰勒 吉勒吾 诶艾伊 儿勒屁"
print text1
' Using FreeBasic's built in wstring
dim text2 as wstring * 256
text2 = "吉伊杰杰勒 吉勒吾 诶艾伊 儿勒屁"
print text2
' These calls to the Windows messagebox function should
' correctly display the Chinese text regardless of what
' console code page is set.
AfxMsg( text1 )
AfxMsg( text2 )
from winfbe.
Hi Paul,
There is a new issue now. When I run the compiled "hello.exe", there is no output window display, but the process is running.
from winfbe.
From your screenshot it looks like you compiled the EXE for "Win64 GUI (Release)".
You should have compiled it for "Console" rather than "GUI".
Make the change and see if you continue to have a zombie process.
from winfbe.
yes, I make that mistake,
Now I run the hello.exe and the Chinese characters have overlaps.
from winfbe.
And the Quick Run issue has been fixed.
from winfbe.
Hi, that is most likely due to the font that the console uses rather than anything related to WinFBE. Try changing to a different default font for your console and see if that fixes the display issue.
Thanks for reporting back that the Quick Run issue is fixed! That's great news.
from winfbe.
Hi Paul,
I did not find how to change the font or other configuration to fix the overlaps. Instead I can add a space between each character to avoid that issue. Thanks for help.
from winfbe.
Related Issues (20)
- 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
- Problem report HOT 3
- Instrrev missing from FreeBASIC keyword list HOT 1
- Chinese cannot be displayed properly
- Help content not showing HOT 1
- Not updating FUNCTION LIST HOT 8
- Too many END IF HOT 1
- AND, OR
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.