Home  >  Article  >  CMS Tutorial  >  How DEDECMS supports Chinese watermarks

How DEDECMS supports Chinese watermarks

藏色散人
藏色散人Original
2019-11-19 11:44:182330browse

How DEDECMS supports Chinese watermarks

How does DEDECMS support Chinese watermarks?

Modify /include/inc_photograph.php and add this line of code at line 165:

$w_text = iconv("GB2312","UTF-8",$w_text) ;

OK, now you can use Chinese to make watermarks, but the default font size is 5. The Chinese font is too small, you can change it at will.

Recommended: "dedecms tutorial"

The above is the detailed content of How DEDECMS supports Chinese watermarks. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn