Source code file format of ide is set to ascii cannot input chinese~
Source code file format of ide is set to ascii cannot input chinese~
6.02 is normal, to 6.03 onwards,When the source code file format of ide is set to ascii, Chinese characters cannot be input. All the inputs are question marks.(????)
Diamond Sutra: all law I was into at, forbearance .
http://www.8do8.com
http://www.8do8.com
Re: Source code file format of ide is set to ascii cannot input chinese~
ASCII only has the simple character set up to 0 - 255 (32 to 127)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Source code file format of ide is set to ascii cannot input chinese~
You are right, I mean that the version before 6.02 supports ascii file format input Chinese, now 6.03 can not input Chinese, can only open ansi format containing Chinese files, but can not change the Chinese inside, the old source code is invalid!mk-soft wrote: Fri Dec 29, 2023 10:36 am ASCII only has the simple character set up to 0 - 255 (32 to 127)
Diamond Sutra: all law I was into at, forbearance .
http://www.8do8.com
http://www.8do8.com
-
- Addict
- Posts: 1554
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: Source code file format of ide is set to ascii cannot input chinese~
There is a similar problem with the Russian language. Instead of text, question marks!
I think it was a big mistake to update Scintilla in PB 6.03. This added a lot of bugs to the IDE that have not been fixed yet!
I think it was a big mistake to update Scintilla in PB 6.03. This added a lot of bugs to the IDE that have not been fixed yet!
Re: Source code file format of ide is set to ascii cannot input chinese~
Try to convert your file in UTF-8 with the old PB and see if it opens correctly with the new version. Chinese and Russian files should be in UTF-8 anyway, using ASCII for that is crying for errors.
Re: Source code file format of ide is set to ascii cannot input chinese~
Fred wrote: Fri Dec 29, 2023 9:23 pm Try to convert your file in UTF-8 with the old PB and see if it opens correctly with the new version. Chinese and Russian files should be in UTF-8 anyway, using ASCII for that is crying for errors.
Code: Select all
XIncludeFile "d:\其他程序源码\PUREBASIC_XXXXXX\include\tdb_600.pbi"
---------------------------
PureBasic
---------------------------
行 1: File not found (d:\其他程序源码\PUREBASIC_XXXXXX\include\tdb_600.pbi).
---------------------------
确定
---------------------------
The directory exists and there is no error, just because the directory has Chinese。( the source file has been set to utf8)

Diamond Sutra: all law I was into at, forbearance .
http://www.8do8.com
http://www.8do8.com
Re: Source code file format of ide is set to ascii cannot input chinese~
There's defiantly a bug with xincludefile it doesn't work from command line or any ide versions I've tried.
PB 6.03 lts and PB 6.10b, win 11
I would say a compiler bug rather than IDE
PB 6.03 lts and PB 6.10b, win 11
I would say a compiler bug rather than IDE
Re: Source code file format of ide is set to ascii cannot input chinese~
Same on pb v6.10 b1
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Source code file format of ide is set to ascii cannot input chinese~
@Fred
Diamond Sutra: all law I was into at, forbearance .
http://www.8do8.com
http://www.8do8.com