画像名の最大表示文字数
- You cannot open a new topic into this forum
- Guests cannot post into this forum
msg# 1
最近の画像(画像付)ブロックの設定にある「画像名の最大表示文字数」についてなんですが、
∃..
こんな感じで尻切れ文字化けしてしまいます。文字化けはこの部分だけで他は全く問題ありません。
過去ログで mbstring の設定がおかしいと分かったのですが、php.iniの設定を下記にすれば改善されるでしょうか。
output_buffering = Off
default_charset = EUC-JP
mbstring.language = Japanese
mbstring.encoding_translation = On
mbstring.http_input = auto
mbstring.http_output = EUC-JP
mbstring.internal_encoding = EUC-JP
mbstring.substitute_character = none
Votes:0
Average:0.00
msg# 1.1
他人に尋ねる前に、やってみた方が早いと思いますよ。
とりあえず、internal_encoding がneutralとかになっていたら、mb_strcut がバイト境界を正しく判断できないのは明らかでしょう。
Votes:1
Average:10.00
msg# 1.1.1
GIJOEさん
おっしゃるとおりでした・・・
申し訳ございませんでした。
Votes:1
Average:10.00