Deprecated: strcmp(): Passing null to parameter #1 ($string1) of type string is deprecated in /home/onago/hamachan.info/public_html/WordPress2019/wp-content/themes/affinger4-child-hamachan/header.php on line 82

Deprecated: strcmp(): Passing null to parameter #2 ($string2) of type string is deprecated in /home/onago/hamachan.info/public_html/WordPress2019/wp-content/themes/affinger4-child-hamachan/functions-scitech.php on line 4294

Deprecated: strcmp(): Passing null to parameter #2 ($string2) of type string is deprecated in /home/onago/hamachan.info/public_html/WordPress2019/wp-content/themes/affinger4-child-hamachan/functions-scitech.php on line 4294

Deprecated: strcmp(): Passing null to parameter #2 ($string2) of type string is deprecated in /home/onago/hamachan.info/public_html/WordPress2019/wp-content/themes/affinger4-child-hamachan/functions-scitech.php on line 4294

Deprecated: strcmp(): Passing null to parameter #2 ($string2) of type string is deprecated in /home/onago/hamachan.info/public_html/WordPress2019/wp-content/themes/affinger4-child-hamachan/functions-scitech.php on line 4294

Deprecated: strcmp(): Passing null to parameter #2 ($string2) of type string is deprecated in /home/onago/hamachan.info/public_html/WordPress2019/wp-content/themes/affinger4-child-hamachan/functions-scitech.php on line 4294

HP Builder

作成したページが文字化けした時の修正方法

投稿日:2017年1月7日 更新日:

現在、ホームページビルダー17を使用しています。

昨日、数枚のページが文字化けしていることに気が付きました。その時の修正方法を記しておきます。

私の場合は、下記の方法で文字化けの修正をすることができましたが、この方法では解消できない場合もあるかもしれませんので、あくまでも参考としてお読みください。

[ツール]メニューから[オプション]をクリックして、[オプション]ダイアログボックスを開くと、ホームページビルダーのオプション設定は、下のようになっていました。

[ファイル]タブの[出力漢字コード]は[無変換]、入力漢字コードは[自動判別]です。

[オプション]ダイアログボックス[ファイル]タブ

文字化けしたページは数ページあったのですが、コードを見ると、

<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> の[charset=Shift_JIS]が[charset=UTF-8]になっていました。

原因はおそらく他のエディターを開いて、コードを編集して保存したので、その時にコードが変わってしまったのだと思います。

修正するには、まず[オプション]の[ファイル]タブの[出力漢字コード]は[SJIS]、[入力漢字コード]は[EUC]に設定します。

文字化けしているページを開きます。この時、1文字だけでも修正して上書き保存をして閉じます。

[オプション]ダイアログボックスの[出力漢字コード]と[入力漢字コード]

そして、再度 オプションの設定を[出力漢字コード]は[無変換]、入力漢字コードは[自動判別]にします。

文字化けしていたページを開いて確認します。

私は、この方法で文字化けを解消することができました。

検索

ほかの記事も検索してみませんか?

Access / Excel / PowerPoint / Word

関連記事30件

moneytizerPCのみ

Profile

執筆者/はま

-HP Builder

Copyright © 2001-2024 初心者のためのOffice講座 All Rights Reserved.

Copyright© 初心者のためのOffice講座 , 2024 AllRights Reserved Powered by AFFINGER4.


Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/onago/hamachan.info/public_html/WordPress2019/wp-content/plugins/yws-lazy-loading-v2/yws-lazy-loading.php on line 196

Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/onago/hamachan.info/public_html/WordPress2019/wp-content/plugins/yws-lazy-loading-v2/yws-lazy-loading.php on line 197

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/onago/hamachan.info/public_html/WordPress2019/wp-content/plugins/yws-lazy-loading-v2/yws-lazy-loading.php on line 199

Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/onago/hamachan.info/public_html/WordPress2019/wp-content/plugins/yws-lazy-loading-v2/yws-lazy-loading.php on line 196

Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/onago/hamachan.info/public_html/WordPress2019/wp-content/plugins/yws-lazy-loading-v2/yws-lazy-loading.php on line 197

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/onago/hamachan.info/public_html/WordPress2019/wp-content/plugins/yws-lazy-loading-v2/yws-lazy-loading.php on line 199