jamesknelson / gulp-rev-replace

Rewrite occurences of filenames which have been renamed by gulp-rev
MIT License
389 stars 62 forks source link

Can't replace URI-encoded file name including non-ascii characters #79

Open zacky1972 opened 6 years ago

zacky1972 commented 6 years ago

Now rev-replace can't replace URI-encoded file name including non-ascii characters such that: %e6%97%a5%e6%9c%ac%e8%aa%9e.jpg

TheDancingCode commented 6 years ago

Do you mean a situation where you have a file 日本語.jpg and a uri-encoded reference to it in your html like %e6%97%a5%e6%9c%ac%e8%aa%9e.jpg? Because in that case you could use the modifyUnreved/Reved functions. In what sense is the problem specific to non-ascii characters?