Forums: Open Discussion (Thread #17110)

標準で、全角カナを半角カナにするには? (2007-12-17 15:36 by Anonymous #34051)

 携帯でもPCからでも、pc2mを使って、PCサイトを変換すると、カナが全角で表示されます。
 
設定画面で、「半角に変換」で、「する」を選ぶと、
次から半角カナで、表示されるようになるのですが、
最初から標準で全角カナを半角カナに変換して表示するようにしたいのですが、どのようにしたらいいでしょうか?

Config.inc.phpの
define('RICHTERM_KANACONV', 1);
をコメントアウトしたり、いろいろやってみたのですが、
PHPは初心者なもので、恥ずかしいのですが、ちょっと分かりませんでした。

お忙しい所、すいませんが教えて頂けないでしょうか?
どうか、よろしくお願い致します。

Reply to #34051×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 標準で、全角カナを半角カナにするには? (2007-12-17 20:05 by ucb #34056)

うろ覚えですがw

define('RICHTERM_KANACONV', 0);

上のように「RICHTERM_KANACONV」の値をゼロにすれば、手動で設定変更しない限り常に「KANA_CONVOPT」の値に従って変換されるかと(KANA_CONVOPTの既定の値は「ask」=全角の英数とカタカナを半角に変換)
Reply to #34051

Reply to #34056×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 標準で、全角カナを半角カナにするには? (2007-12-17 20:39 by Anonymous #34057)

質問させていただいたものです!

教えて頂いたとおり、
define('RICHTERM_KANACONV', 0);
としたところ、半角カナに出来ました!
教えて頂き本当にありがとうございます!
Reply to #34056

Reply to #34057×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login