Hi!
I have a program, writen 3 years ago.
Now I have to make some changes and it is messing by database. It recorded items a BYTE ASCII and now it is using UNICODE.
Is there a way to tell the compiler to use the old BYTE ASCII system?
If not, is there a way to force all readstring and writestring to use the BYTE mode (like #PB_Ascii, chatgpt hint)?
(I would not like to use this method, since I have to find and modify all the readstring and writestring, with the posibility to miss some ones)
ASCII 8 bits vs UNICODE
Re: ASCII 8 bits vs UNICODE
Code: Select all
OpenFile(0,"Test",#PB_Ascii)
WriteString(0,"Hello",#PB_Ascii)
If translation=Error: reply="Sorry, Im Spanish": Endif
Re: ASCII 8 bits vs UNICODE
I know. I just dont want to search for all the readstring / writestring and add the #PB_Ascii, I could skip one and mess it even more.
Re: ASCII 8 bits vs UNICODE
Default is UTF8. Only Open- Create- Read- File must be set to ASCII.
Not Read- or WriteString ...
Not Read- or WriteString ...
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