-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non english filenames in windows apache #42
Comments
Hello, Can you please test the changes I've made: And let me know if they fix your problem? Remember changing Also I'd appreciate you testing behavior with mbstring enabled and disabled, so that we can test both mbstring (mb_convert_encoding) and iconv conversion capabilities. Regards. |
I have changed the code slightly: f3c33dc |
Nope. Links to files still look like "http://domain.com/_video/%ED%E5%EF%F0%E8%EA%EE%F1%ED%EE%E2%E5%ED%ED%FB%E9%20%E7%E0%EF%E0%F1/%DD%E4%E4%E8%20%CC%B8%F0%F4%E8%201987.flv" |
Try again please and let me know the outcome. I now keep href attribute as-is and only change the text that is shown. Also made code more generic. |
Change your code at line 3183 to: and its be what we all want :) |
Hi,
This works, but I don't know if this is the best way of doing it. |
havet, your method not working, after this code text shows like that:
|
Russian vs Swedish. Cyrillic vs Latin... ASCII is of many languages but only one at a time. @havet: I think I found a transparent way of dealing with the usual encoding issues. Can you test the current code on my fork listing files (and directories) with Swedish filenames, while having set I have done the change that @kofbox sugested. My best idea about why it is needed is because webserver uses UTF-8 winAPI instead of ASCII (unlike PHP). Thank you both for your input and feedback! I want to tackle this weird encoding bugs to my best knowledge. |
NewEraCracker, also, if i set You may want to edit 11 line to:
|
done. Now waiting for further feedback and opinion of project owner. |
hello all grear job and i am loving it aldo i am have some problems with it. in portugal we have some dif chars like " ç á à ã â " etc... Any ideas ? kind regards |
Boa tarde, Usa a versão disponível aqui: https://github.com/NewEraCracker/encode-explorer e edita a seguinte linha Cumprimentos, |
Boas tardes joao Muito obrigado pela ajuda. Bom fds Nuno Pires Em 11/09/2016 15:05, "Jorge Oliveira" [email protected] escreveu:
|
Dear NewEraCracker Thank you for all your help. Once again TY Regards |
hello Jorge Thank you for all the help but here i come again with another question: Is there any way to "Force download" insted of opening in a new window ? Thank you once more regards NP 2016-09-11 15:14 GMT+01:00 Nuno Pires [email protected]:
|
second question: is there a way to make the code detect if it is being opened on a cellphone On 12 September 2016 at 22:13, Nuno Pires [email protected] wrote:
|
Hey. I tried to use this script in xampp on Windows. At the same time, I store files with names in different encodings. Encode Explorer does not correctly display these names.
On the Internet I found the solution here:
http://php.net/manual/ru/function.urldecode.php
(Comment by "alejandro at devenet dot net")
And here:
https://www.w3.org/International/questions/qa-forms-utf-8.en
I made the appropriate changes in the code (very little) and now everything is working as it should in Windows.
Attached Encode Explorer with corrections. I would be glad if it will be accepted in the following versions of Encode Explorer. :)
index.txt
The text was updated successfully, but these errors were encountered: