DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:convert_to_utf8

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tips:convert_to_utf8 [2010-12-04 16:31]
ach old revision restored
tips:convert_to_utf8 [2015-06-05 17:24] (current)
222.235.145.30
Line 26: Line 26:
 ; ensure {NEW} isn't within data/pages :) ; ensure {NEW} isn't within data/pages :)
 ; ;
-for wikpage in `find . -type f -name "*.txt"` ; do php urldecode.php $wikipage {NEW} ; done+for wikipage in `find . -type f -name "*.txt"` ; do php urldecode.php $wikipage {NEW} ; done
 </code> </code>
  
 The above command is effectively   ''cp -R ./* {NEW}'' where all the destination paths/filenames are urldecoded versions of the source paths/filenames.  The above command is effectively   ''cp -R ./* {NEW}'' where all the destination paths/filenames are urldecoded versions of the source paths/filenames. 
tips/convert_to_utf8.txt ยท Last modified: 2015-06-05 17:24 by 222.235.145.30