Home > Backend Development > PHP Tutorial > 日文编码的有关问题

日文编码的有关问题

WBOY
Release: 2016-06-13 10:51:24
Original
1459 people have browsed it

日文编码的问题
问题1:怎么设置网页编码为shft-jis??
问题2:数据库设置成什么编码比较适合存储日文??
问题3:【Cmzwt】MicroSIM→SIMカード変換アダプター(黒) SIM 取り出しツール付き
  墨田区亀沢1-25-5メゾン?ド?ミューズ202

  这两段日文写不进数据库,里面有箭头和点,请问怎么处理??


------解决方案--------------------
你设置成通用utf-8 就好了呀
------解决方案--------------------
用mysql_real_escape_string()转义一下看看

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