Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私の表には、「č」などの特殊文字があります
このデータを選択して Web サイトで html として表示すると、その文字が疑問符 (?) として表示されます。
どうすればこれを解決できますか?
例の表
Mehanički
HTML 出力の例
Mehani?ki
PHPを使用してSQLからデータを取得し、AJAXでPHPファイルを呼び出して、配列である出力を取得します
データベースに接続した後、これを配置する必要がありました
if (!$mysqli->set_charset("latin2")) { printf("Error loading character set latin2 : %s\n", $mysqli->error); }