mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Add UTF-8 / multi-byte charset support to ADIF parser
This commit is contained in:
@@ -129,7 +129,7 @@ class AdifHelper {
|
||||
|
||||
function getAdifFieldLine($adifcolumn, $dbvalue) {
|
||||
if ($dbvalue != "") {
|
||||
return "<" . $adifcolumn . ":" . strlen($dbvalue) . ">" . $dbvalue;
|
||||
return "<" . $adifcolumn . ":" . mb_strlen($dbvalue, "UTF-8") . ">" . $dbvalue;
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user