文字化け

54 views
Skip to first unread message

tomoya tomoya

unread,
Sep 17, 2015, 8:02:31 AM9/17/15
to Twitter Development Talk - ja
初めての投稿です。

PHPとHTMLを用いて書いているのですが、
表記させると
どちらかが文字化けをしてしまいます。
どのようにしたら文字化けを回避できるでしょうか?

xdomainさんのサーバーを使わせていただいております。

Yusuke Yamamoto

unread,
Sep 17, 2015, 8:03:50 AM9/17/15
to twitter-devel...@googlegroups.com
headタグ内に文字コードは明記していますか?
Twitter APIを使わない画面でも文字化けはしますか?

-- 
山本 裕介
@yusuke
http://samuraism.jp/
Sent from my iPhone6
--
このメールは Google グループのグループ「Twitter Development Talk - ja」の登録者に送られています。
このグループから退会し、グループからのメールの配信を停止するには twitter-development...@googlegroups.com にメールを送信してください。
その他のオプションについては、https://groups.google.com/d/optout にアクセスしてください。

tomoya tomoya

unread,
Sep 17, 2015, 9:46:10 AM9/17/15
to Twitter Development Talk - ja
下記の用に書いております。
API使用しなくても文字化けしました。

<html>
<head>
<title>HTML&PHPテスト</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body>
<h1>php html表記</h1>
<?php

tomoya tomoya

unread,
Sep 18, 2015, 8:24:04 AM9/18/15
to Twitter Development Talk - ja
おかしなところがあるでしょうか?

Yamamoto Yusuke

unread,
Sep 18, 2015, 9:43:40 AM9/18/15
to twitter-devel...@googlegroups.com
貼り付けたコードを見る限りは問題なさそうですね。

ファイルの保存時の文字コードが違うとか?
--
山本 裕介
@yusuke
http://samuraism.jp/

> On Sep 18, 2015, at 21:22, tomoya tomoya <rar...@i.softbank.jp> wrote:
>
> おかしなところがあるでしょうか?
Reply all
Reply to author
Forward
0 new messages