-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chinese character support #43
Comments
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. |
Hi Paul,
Thank you very much for your help, but there are still some issue, when I 'Compile and Run' or 'Quick Run', the result is like below. Do you know why, and can I fix it.
Best wishes!
Quick run.
…---- Replied Message ----
From Paul ***@***.***>Date 02/13/2023 19:23 To ***@***.***>Cc ***@***.***>***@***.***>Subject Re: [PaulSquires/WinFBE] Chinese character support (Issue #43)
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.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi, did you intend to post a screenshot or a log output? All I see in your message is the result is "Quick run." |
Yes, I usd version 3.08 and send the screenshot.
Can you see the attached this time?
…---- Replied Message ----
| From | Paul ***@***.***> |
| Date | 02/14/2023 20:01 |
| To | ***@***.***> |
| Cc | ***@***.***>***@***.***> |
| Subject | Re: [PaulSquires/WinFBE] Chinese character support (Issue #43) |
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?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sorry. I can not . 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. |
OK, thanks. I will post it tomorrow morning.
Have a nice day!
…---- Replied Message ----
| From | Paul ***@***.***> |
| Date | 02/14/2023 20:14 |
| To | ***@***.***> |
| Cc | ***@***.***>***@***.***> |
| Subject | Re: [PaulSquires/WinFBE] Chinese character support (Issue #43) |
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.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
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. #include "Afx/AfxWin.inc" ' Comment the following line to enable/disable the ' Using WinFBX's dynamic CWSTR class ' Using FreeBasic's built in wstring ' These calls to the Windows messagebox function should |
From your screenshot it looks like you compiled the EXE for "Win64 GUI (Release)". |
And the Quick Run issue has been fixed. |
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. |
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. |
The editor can not support Chinese character.
The text was updated successfully, but these errors were encountered: