String problem?

Just starting out? Need help? Post your questions and find answers here.
collectordave
Addict
Addict
Posts: 1309
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

String problem?

Post by collectordave »

trying to download an image from the net. The string for the url contains these Greek characters

ΕΛΛΗΝΙΚΗ_ΔΙΟΙΚΗΣΙΣ

and will not download managed to catch the string that does download and it displays like this in notepad

%CE%95%CE%9B%CE%9B%CE%97%CE%9D%CE%99%CE%9A%CE%97_%CE%94%CE%99%CE%9F%CE%99%CE%9A%CE%97%CE%A3%CE%99%CEA3

When I substitute this in my string it works!

Does anyone have any idea what is going on?

Regards

CD
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
User avatar
Bisonte
Addict
Addict
Posts: 1232
Joined: Tue Oct 09, 2007 2:15 am

Re: String problem?

Post by Bisonte »

UrlDecoder()
PureBasic 6.10 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
collectordave
Addict
Addict
Posts: 1309
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Re: String problem?

Post by collectordave »

Thanks bisonte

Straight to the point and no messing. Works straight out of the box and solves a few others for me as well.

Thanks again

CD
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
Post Reply