Re: difficulty with dir()

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
Kat said...

doc_root={109m,58:,92\,80P,72H,80P,32¦,36$,95_,67C,79O,79O,75K,73I,69E,32¦,194,171,32¦,80P,72H,80P,32¦,84T,117u,116t,111o,114r,105i,97a,108l,115s,95_,102f,105i,108l,101e,115s,92\}

http://127.0.0.1:8080/m:%5CPHP%20$_COOKIE%20%C2%AB%20PHP%20Tutorials_files%5C

I'm not quite understanding something here. The Unicode value for '«' is 0xAB (171) so I've not sure what the 0xC2 value is doing in the string. That's the unicode value for 'Â'

0xC2AB is UTF-8 for '«'. Windows normally uses UTF-16 whenever it uses unicode. However, it does not appear to be a valid UTF-16 character. But the rest of the data looks like it's probably UTF-8 as well.

So maybe there's some weird encoding issues going on. You could try wxEuphoria, which should be using UTF-16 on windows, to see what it finds. Beyond that, I'm not sure what else to suggest, as my knowledge of Unicode intricacies is pretty limited.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu