Closed kenjis closed 10 years ago
ご指摘ありがとうございます。確認しますー
スタンドアローンサーバの場合に出るようですね…Apacheだと出ませんでした。
正規表現エンジンの問題なのか、テンプレート解析中に文字化けするワードがありました。
/u
フラグをつけることで回避しました。
ああ、ロケールの問題ですか。
なるほど、ロケールですか。
Locale::setDefault('ja-JP');
など入れておくのが安全でしょうか
日本語前提のアプリなら、ロケールも日本語に設定しておくのが正しいでしょうね。 ロケールの影響を受ける関数が正しく動作しない可能性がありますから。
ただし、ロケール名は環境依存なので決め打ちできません。
なるほど。では現状のままの方が良さそうですね。 スタンドアローンサーバでデプロイすることは無いでしょうし。
ありがとうございます。
エラーが出て動作しません。
手順:
ブラウザで http://localhost:8000/ にアクセス。
環境: