mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1291 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5cd542b8da
commit
9fac285610
2 changed files with 9 additions and 2 deletions
|
|
@ -115,7 +115,7 @@
|
|||
$unicode_str = iconv("UTF-8","UCS-2",$string);
|
||||
if(strlen($unicode_str) < $cut_size*2) return $string;
|
||||
|
||||
$output = substr($unicode_str, 0, $cut_size*2);
|
||||
$output_str = substr($unicode_str, 0, $cut_size*2);
|
||||
return iconv("UCS-2","UTF-8",$output_str).$tail;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue