Thread: JBPatch
View Single Post
Old 07-25-2012, 01:20 AM   #326
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Ok, it works properly once the files are fixed.
Your files were in the wrong encoding (jbpatch bitches about this in the log file... Check the log file on the systems tab).

The files should be in UTF-8, not the stone age Windows encoding. The encoding can be selected in every decent text editor.

Anyway... here's the command that fixed it:
Code:
for i in *.txt; do iconv -f WINDOWS-1252 -t UTF-8 -o $i.2 $i; mv $i $i.wrong; mv $i.2 $i; done

Last edited by ixtab; 07-25-2012 at 08:15 PM.
ixtab is offline   Reply With Quote