Batman?
Ucase() fails with UTF
Re: Ucase() fails with UTF
Re: Ucase() fails with UTF
Sorry for delay in reply, that does look odd. What is your OS version?
Re: Ucase() fails with UTF
I'm using a macbook with chip Intel and macOS Monterey, v.12.6.3idle wrote: Fri Jul 21, 2023 10:11 amSorry for delay in reply, that does look odd. What is your OS version?
In Windows 10 and Windows XP it runs ok, the problem I only see with macOS (I didn't test it with Linux)
Re: Ucase() fails with UTF
@Torf
What are the outputs for the following code?
What are the outputs for the following code?
Code: Select all
Debug Asc("ñ")
Debug Asc(UCase("ñ"))
Code: Select all
; Download from https://dnscope.io/idlefiles/UTF16.pb
IncludeFile "UTF16.pb"
Define text$ = "ñ"
UTF16::StrUCase(text$)
Debug text$

Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
Re: Ucase() fails with UTF
I paste screenshots below each question.Sicro wrote: Fri Jul 21, 2023 1:47 pm @Torf
What are the outputs for the following code?https://ibb.co/1QWK07KCode: Select all
Debug Asc("ñ") Debug Asc(UCase("ñ"))
https://ibb.co/Lv5Wp9qCode: Select all
; Download from https://dnscope.io/idlefiles/UTF16.pb IncludeFile "UTF16.pb" Define text$ = "ñ" UTF16::StrUCase(text$) Debug text$
Re: Ucase() fails with UTF
Think you should try to update to pb 6.02 lts or 6.03. Something isn't right
Re: Ucase() fails with UTF
https://ibb.co/yqGqTxWidle wrote: Sat Jul 22, 2023 10:55 am Think you should try to update to pb 6.02 lts or 6.03. Something isn't right