<?php

function app_utf8_decode($value)
{
    return mb_convert_encoding((string) $value, 'ISO-8859-1', 'UTF-8');
}

function app_utf8_encode($value)
{
    return mb_convert_encoding((string) $value, 'UTF-8', 'ISO-8859-1');
}
