imagettftextã¯UTF-8ã§æååã渡ãå¿ è¦ãããã¾ãï¼ãã®ããï¼mb_convert_encoding($str, 'UTF-8')ãªã©ã§ãããããã¨ã³ã³ã¼ããã¦ããå¿ è¦ãããã¾ãï¼ $str = 'ã»ãã»ã'; $str = mb_convert_encoding($str, 'UTF-8'); imagettftext($image, 10.5, 0, 0, 0, $color['black'], $font, $str); ãï¼[JIS-mapped Japanese Font Support]ããµãã¼ãããã¦ããæã¯ï¼å é¨ã§åæã«ã¨ã³ã³ã¼ããå¤æãã¦ãããããï¼ã¨ã³ã³ã¼ããã¦ããå¿ è¦ã¯ããã¾ããï¼ã¨ããããï¼'UTF-8'ã§ã¨ã³ã³ã¼ãæ¸ã¿ã®æååã渡ãã¨åãã¾ãï¼ãªã®ã§ï¼æååã'UTF-8'ã®å ´åï¼æå³çã«'SJIS'ã«å¤æãã¦ãã渡ãå¿ è¦ãããã¾ãï¼ $str =
{{#tags}}- {{label}}
{{/tags}}