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

How DEDECMS supports Chinese watermarks

藏色散人
Release: 2019-11-19 11:44:18
Original
2433 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template