diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-06-06 21:41:05 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-06-06 21:41:05 +1000 |
| commit | 9edbf0e3431dea438524206242a82c5b50457714 (patch) | |
| tree | 5aead302d0793fcfdeb75477f0aae2cc714d8d08 | |
| parent | c3db67c17be800d4d0db7738bb69a90d290008da (diff) | |
...
| -rw-r--r-- | inc/functions.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/functions.php b/inc/functions.php index 8f7370bc..790e0783 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1433,8 +1433,7 @@ if ( ( function_exists ( 'mb_convert_encoding' ) ) ) { // multi-byte encoding is necessary to produce standard tripcode output, but only use it if available mb_substitute_character('none'); - // $trip is now properly encoded - $trip = mb_convert_encoding ( $trip, 'Shift_JIS', 'UTF-8' ); + $recoded_cap = mb_convert_encoding ( $trip, 'Shift_JIS', 'UTF-8' ); } $trip = ( ( ! empty ( $recoded_cap ) ) ? $recoded_cap : $trip ); $salt = substr ( $trip.'H.', 1, 2 ); |
