Re: [β] Everything in XYplorer — Rev. 0.96 / 2014/07/24
Posted: 26 Jul 2014 20:39
Does something appear if, still in the folder of es, you type
in the AB and press Enter?
Code: Select all
!es -n 5Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Code: Select all
!es -n 5Nope, doesn't work.Marco wrote:Very weird. Anyway this should work
No, didn't work, still empty results.Marco wrote:Does it work if you set $unicode to TRUE? (I mean, with the 0.96 that you can find on the first page)
Code: Select all
dl: diacritics:(abba AND path:\"E:\7Utilities\XYplorer\Data\Scripts\")Code: Select all
dl: diacritics:(abba AND path:\"E:\7Utilities\XYplorer\Data\Scripts\")Code: Select all
Pokemon abc.txt
Pokemon abc.txtCode: Select all
F:\Documents\New Folder\Pokemon New\Pokemon Elite 2000\テレビ東京・あにてれ ポケットモンスター ダイヤモンド・パール_files\index_data\pokemon_dp_utf8.jsCode: Select all
writefile("<curpath>\utf8bom.txt", hexdump("EFBBBF", , "ri"), , "b");Code: Select all
base64decode("77u/", 0, "<curpath>\utf8bom.txt");Code: Select all
$ascii =<<<ASCII
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
ASCII;
$ascii = "<tab>"."$ascii";
$ascii_file = "CSAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+";
base64decode("$ascii_file", 0, "<curpath>\ascii.txt");
$output = runret("cmd /c type ""<curpath>\ascii.txt""");
text "1 if it matches, 0 otherwise: ".("$ascii" == "$output");Yep pretty much! Until that bug you reported is resolved and how runret deals with these types of characters, you won't be able to do much at the moment. Although interestingly Japanese characters are showing up fine. Only characters with diacritics showed up incorrectly.Marco wrote:PS: wait a sec, if the console returns Pokémon but runret shows it as Pokemon, then there's nothing I can do, one-to-one correspondence is broken even for ascii.
Code: Select all
writefile("<xypaper>\$paper.txt", hexdump("EFBBBF", 1, "ri"), , "b");Code: Select all
if ($unicode OR ($results Like "*[?]*") OR NOT isset($results)) {
run "cmd /c chcp 65001 && es $cl >> ""<xypath>\$paper.txt""", "$path", 2, 0;
writefile("<xypaper>\$paper.txt", readfile("<xypath>\$paper.txt", t, , 65001), , "tu");
delete 0, 0, "<xypath>\$paper.txt";
unset $results;
};