the squares are chinese character.
Posts made by oppaweb
-
RE: PDF cannot display the correct charset even utf8 was set at html meta tag
-
PDF cannot display the correct charset even utf8 was set at html meta tag
Even though I have already added the following tag at template, the generated pdf (as shown) cannot display the charset properly. I m using linux with both locale set to LANG=zh_TW.utf8 and LC_ALL=zh_TW.utf8 as well. Do you have any idea?
<html>
<head>
<style>
{#asset Invoice styles.css @encoding=utf8}
</style>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>