Author

Topic: 🖤 (Read 117 times)

copper member
Activity: 1330
Merit: 899
🖤😏
October 01, 2023, 09:15:15 AM
#7
Can you indicate which part of the code this error refers to?
This error is probably a blank space (visually speaking) but in reality there is something else there that is not really blank. So you have to find out what that space is and eliminate it.

I'm not an expert in Python, but I found this information that seemed very plausible to me:
https://stackoverflow.com/questions/74837978/syntaxerror-invalid-non-printable-character-u00a0-in-python
Every line in a code, that's why I have to erase every empty space behind each line to make it work, it has nothing to do with python specifically, and now I think nobody had such a problem before, because no one is so noob to run scripts on a mobile phone.
At first I thought when a script is written by an AI, there could be some kind of invisible trademark of sorts to make AI content easy to detect but then when I used a desktop browser there was no such error.  I don't think anyone can help here because it needs to be tested and this is a one time thing. Not a big deal.

Thanks for the replies.
sr. member
Activity: 583
Merit: 271
October 01, 2023, 01:35:54 PM
#5
I don't about python but why do you copy paste your code? One blank line causes huge problem. Instead can't a make file and save it as code.py & then imports it wherever you wanna use it?  Tongue
legendary
Activity: 1638
Merit: 4508
**In BTC since 2013**
October 01, 2023, 08:20:11 AM
#4
Can you indicate which part of the code this error refers to?
This error is probably a blank space (visually speaking) but in reality there is something else there that is not really blank. So you have to find out what that space is and eliminate it.

I'm not an expert in Python, but I found this information that seemed very plausible to me:
https://stackoverflow.com/questions/74837978/syntaxerror-invalid-non-printable-character-u00a0-in-python
legendary
Activity: 2492
Merit: 3612
Buy/Sell crypto at BestChange
October 01, 2023, 06:26:46 AM
#3

This doesn't happen when I copy from a windows device, so I was wondering if there is a fix for this?
I noticed that some codes or even formats look different in Android encoding. Perhaps the reason for this is Unicode Transformation Format UTF-32. I am not completely sure of the cause of the error, but why not use a third-party service to host the code and then post the link here, I suggest you ---> https://pastebin.com/

Can you add a link to the code you mean?
hero member
Activity: 1764
Merit: 694
[Nope]No hype delivers more than hope
October 01, 2023, 02:51:51 AM
#2
It looks like the font you are using on your Android/iOS doesn't support those characters. Play around with the system font settings, I think the default font will support more script characters.
copper member
Activity: 1330
Merit: 899
🖤😏
October 01, 2023, 12:17:03 AM
#1
🖤
Jump to: