...
This commit is contained in:
parent
c3db67c17b
commit
9edbf0e343
@ -1433,8 +1433,7 @@
|
|||||||
if ( ( function_exists ( 'mb_convert_encoding' ) ) ) {
|
if ( ( function_exists ( 'mb_convert_encoding' ) ) ) {
|
||||||
// multi-byte encoding is necessary to produce standard tripcode output, but only use it if available
|
// multi-byte encoding is necessary to produce standard tripcode output, but only use it if available
|
||||||
mb_substitute_character('none');
|
mb_substitute_character('none');
|
||||||
// $trip is now properly encoded
|
$recoded_cap = mb_convert_encoding ( $trip, 'Shift_JIS', 'UTF-8' );
|
||||||
$trip = mb_convert_encoding ( $trip, 'Shift_JIS', 'UTF-8' );
|
|
||||||
}
|
}
|
||||||
$trip = ( ( ! empty ( $recoded_cap ) ) ? $recoded_cap : $trip );
|
$trip = ( ( ! empty ( $recoded_cap ) ) ? $recoded_cap : $trip );
|
||||||
$salt = substr ( $trip.'H.', 1, 2 );
|
$salt = substr ( $trip.'H.', 1, 2 );
|
||||||
|
Loading…
Reference in New Issue
Block a user