Page 1 of 1
What's going on here?
Posted: Thu Mar 06, 2025 12:37 pm
by mestnyi
Code: Select all
func$ = "Window" ; debug Window 1 0
; comment\uncomment
; func$ = "Window" ; debug Window 0 1
Debug ""+func$ +" "+ Bool(func$ = "Window") +" "+ Bool(func$ = "Window")
What's going on here? Why do the same words look different?
Re: What's going on here?
Posted: Thu Mar 06, 2025 12:40 pm
by Kiffi
not here.
In both cases: Window 1 1
Re: What's going on here?
Posted: Thu Mar 06, 2025 1:01 pm
by mestnyi
Kiffi wrote: Thu Mar 06, 2025 12:40 pm
not here.
In both cases: Window 1 1
I looked
It's the browser that fixes it.
Can you download and watch the "1.pb" file from here?
https://github.com/mestnyi33/widget
Re: What's going on here?
Posted: Thu Mar 06, 2025 1:16 pm
by Kiffi
Have a look at what it looks like in my Notepad++:
(ZWNBSP means "ZERO WIDTH NO-BREAK SPACE")
Re: What's going on here?
Posted: Thu Mar 06, 2025 1:19 pm
by blueb
I downloaded and tried 1.pb and you're right. It does debug display "Window 0 1" (after uncommenting)
Re: What's going on here?
Posted: Thu Mar 06, 2025 1:31 pm
by mestnyi
Kiffi wrote: Thu Mar 06, 2025 1:16 pm
Have a look at what it looks like in my Notepad++:
(ZWNBSP means "ZERO WIDTH NO-BREAK SPACE")
Wow, now what, how do I deal with this?
Re: What's going on here?
Posted: Thu Mar 06, 2025 1:56 pm
by Caronte3D
You can use before the debug:
and... inside "" is the ZWNBSP
Re: What's going on here?
Posted: Thu Mar 06, 2025 2:27 pm
by NicTheQuick
It just looks like you have copied the word `window` from a web page or chat or something like that. The zero-width non-breaking space is usually used to make prevent words from wrapping at the end of a text box.
Re: What's going on here?
Posted: Fri Mar 07, 2025 5:43 pm
by Nituvious
You deal with it by using Utf8

Re: What's going on here?
Posted: Mon Mar 24, 2025 1:17 am
by Olli
Yes I got this problem since 2016. That is the several clipboards. As usual, it is Microsoft which puts a clipboard "bad" content on Windows 8 (in 2016)...