Covert Wacintaki Poteto PHP files from ISO-8859-1 to UTF8
Some of Wacintaki Poteto/Potato PHP files are in ISO-8859-1
And, you might like to convert them to UTF-8 ones in order to make
VIMor other UTF-8 configured editor working well.
(It mainly converted the author name: Marcello Bastéa-Forte to UTF8)
==================================
$ cd <Your Oekaki Folders>
$ file *.php (... You will see most files in ISO-8859)
$ mkdir /tmp/z
$ mkdir /tmp/bak
$ /bin/cp *.php /tmp/z
$ /bin/cp *.php /tmp/bak
$ file *.php | grep ISO | cut -f1 -d':' | xargs -I _file_ iconv -f ISO-8859-1 -t UTF-8 -o /tmp/z/_file_ _file_
$ file /tmp/z/*.php (... You will see most files converted to UTF-8)
$ /bin/cp /tmp/z/*.php .
==================================
Some PHP files might be still in ASCII, that is OK, VIM or other editors could handle that once you inserting any UNICODE(UTF-8) text.
BEFORE ICONV: It is in ISO-8859-1 (Latin 1)
代碼:
addusr.php: PHP script, ISO-8859 text
banlist.php: PHP script, ISO-8859 text
banned.php: PHP script, ISO-8859 text
chatbox.php: PHP script, ISO-8859 text
chat.php: PHP script, ISO-8859 text
chibipaint.php: PHP script, ISO-8859 text, with very long lines
chngpass.php: PHP script, ISO-8859 text
comment.php: PHP script, ISO-8859 text
common.php: PHP script, ISO-8859 text, with very long lines
cpanel.php: PHP script, ISO-8859 text
delcomments.php: PHP script, ISO-8859 text
delconf.php: PHP script, ISO-8859 text
delpics.php: PHP script, ISO-8859 text
delusr.php: PHP script, ISO-8859 text
editcomm.php: PHP script, ISO-8859 text
editnotice.php: PHP script, ISO-8859 text, with very long lines
editpic.php: PHP script, ISO-8859 text
editprofile.php: PHP script, ISO-8859 text
faq.php: PHP script, ISO-8859 text
footer.php: PHP script, ISO-8859 text
header.php: PHP script, ISO-8859 text
index.php: PHP script, ISO-8859 text
lcommentdel.php: PHP script, ISO-8859 text
lostpass.php: PHP script, ISO-8859 text
mailbox.php: PHP script, ISO-8859 text
mailout.php: PHP script, ISO-8859 text
mailread.php: PHP script, ISO-8859 text
mailsend.php: PHP script, ISO-8859 text
massmail.php: PHP script, ISO-8859 text
memberlist.php: PHP script, ISO-8859 text, with very long lines
modflags.php: PHP script, ISO-8859 text
newpass.php: PHP script, ISO-8859 text
niftytoo.php: PHP script, ISO-8859 text
niftyusage.php: PHP script, ISO-8859 text
noteBBS.php: PHP script, ISO-8859 text
oekakiBBS.php: PHP script, ISO-8859 text, with very long lines
paintBBS.php: PHP script, ISO-8859 text
profile.php: PHP script, ISO-8859 text
recover.php: PHP script, ISO-8859 text, with very long lines
register.php: PHP script, ISO-8859 text
renameusr.php: PHP script, ISO-8859 text
shiBBS.php: PHP script, ISO-8859 text, with very long lines
whosonline.php: PHP script, ISO-8859 text
AFTER ICONV to UTF-8 Encoding
代碼:
addusr.php: PHP script, UTF-8 Unicode text
banlist.php: PHP script, UTF-8 Unicode text
banned.php: PHP script, UTF-8 Unicode text
chatbox.php: PHP script, UTF-8 Unicode text
chat.php: PHP script, UTF-8 Unicode text
chibipaint.php: PHP script, UTF-8 Unicode text, with very long lines
chngpass.php: PHP script, UTF-8 Unicode text
comment.php: PHP script, UTF-8 Unicode text
common.php: PHP script, UTF-8 Unicode text, with very long lines
cpanel.php: PHP script, UTF-8 Unicode text
delcomments.php: PHP script, UTF-8 Unicode text
delconf.php: PHP script, UTF-8 Unicode text
delpics.php: PHP script, UTF-8 Unicode text
delusr.php: PHP script, UTF-8 Unicode text
editcomm.php: PHP script, UTF-8 Unicode text
editnotice.php: PHP script, UTF-8 Unicode text, with very long lines
editpic.php: PHP script, UTF-8 Unicode text
editprofile.php: PHP script, UTF-8 Unicode text
faq.php: PHP script, UTF-8 Unicode text
footer.php: PHP script, UTF-8 Unicode text
header.php: PHP script, UTF-8 Unicode text
index.php: PHP script, UTF-8 Unicode text
lcommentdel.php: PHP script, UTF-8 Unicode text
lostpass.php: PHP script, UTF-8 Unicode text
mailbox.php: PHP script, UTF-8 Unicode text
mailout.php: PHP script, UTF-8 Unicode text
mailread.php: PHP script, UTF-8 Unicode text
mailsend.php: PHP script, UTF-8 Unicode text
massmail.php: PHP script, UTF-8 Unicode text
memberlist.php: PHP script, UTF-8 Unicode text, with very long lines
modflags.php: PHP script, UTF-8 Unicode text
newpass.php: PHP script, UTF-8 Unicode text
niftytoo.php: PHP script, UTF-8 Unicode text
niftyusage.php: PHP script, UTF-8 Unicode text
noteBBS.php: PHP script, UTF-8 Unicode text
oekakiBBS.php: PHP script, UTF-8 Unicode text, with very long lines
paintBBS.php: PHP script, UTF-8 Unicode text
profile.php: PHP script, UTF-8 Unicode text
recover.php: PHP script, UTF-8 Unicode text, with very long lines
register.php: PHP script, UTF-8 Unicode text
renameusr.php: PHP script, UTF-8 Unicode text
shiBBS.php: PHP script, UTF-8 Unicode text, with very long lines
whosonline.php: PHP script, UTF-8 Unicode text
代碼:
diff --git a/addusr.php b/addusr.php
index 76f744b..456b191 100644
--- a/addusr.php
+++ b/addusr.php
@@ -1,6 +1,6 @@
<?php
/*
-OekakiPoteto 5.x Copyright 2000-2002 RanmaGuy (Theo Chakkapark, http://suteki.nu) and Marcello Bast<E9>a-Forte ( http://marcello.cellosoft.com). Modification
+OekakiPoteto 5.x Copyright 2000-2002 RanmaGuy (Theo Chakkapark, http://suteki.nu) and Marcello Bastéa-Forte ( http://marcello.cellosoft.com). Modification to
Wacintaki Poteto modifications Copyright 2004-2011 Marc "Waccoon" Leveille
http://www.NineChime.com/products/
diff --git a/banlist.php b/banlist.php
index 05e3c36..313fff4 100644
--- a/banlist.php
+++ b/banlist.php
@@ -1,6 +1,6 @@
<?php
/*
-OekakiPoteto 5.x Copyright 2000-2002 RanmaGuy (Theo Chakkapark, http://suteki.nu) and Marcello Bast<E9>a-Forte ( http://marcello.cellosoft.com). Modification
+OekakiPoteto 5.x Copyright 2000-2002 RanmaGuy (Theo Chakkapark, http://suteki.nu) and Marcello Bastéa-Forte ( http://marcello.cellosoft.com). Modification to
Wax Poteto modifications Copyright Marc "Waccoon" Leveille
http://www.NineChime.com/products/
diff --git a/banned.php b/banned.php
index 73951e0..dc6aa3c 100644
--- a/banned.php
+++ b/banned.php
@@ -1,6 +1,6 @@
<?php
/*
-OekakiPoteto 5.x Copyright 2000-2002 RanmaGuy (Theo Chakkapark, http://suteki.nu) and Marcello Bast<E9>a-Forte ( http://marcello.cellosoft.com). Modification
+OekakiPoteto 5.x Copyright 2000-2002 RanmaGuy (Theo Chakkapark, http://suteki.nu) and Marcello Bastéa-Forte ( http://marcello.cellosoft.com). Modification to
Wacintaki Poteto modifications Copyright 2004-2011 Marc "Waccoon" Leveille
http://www.NineChime.com/products/
diff --git a/chat.php b/chat.php
index 2884dd6..200ee26 100644
--- a/chat.php
+++ b/chat.php
@@ -1,6 +1,6 @@
<?php // Include only
________________
美術插畫設計案子報價系統 v0.1 Beta
爪哇禾雀
|