NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All Threads**Show in Threaded Mode


Subjectkon'nichi wa! new  
Posted byMemblers
Posted on10/30/02 07:08 AM
From IP68.58.96.167  



I can't read or speak Japanese, but I've made this board for those who do.

Someone who's able to check, please tell me if the Japanese character-set displays properly in here.

‚±‚ê‚̓eƒXƒg?Eƒ?ƒbƒZ?[ƒW‚Å‚·?B




SubjectRe: kon'nichi wa!  
Posted bykoitsu
Posted on10/30/02 08:33 AM
From IP12.234.118.8  



Yes, they display properly, however the character encoding type for this particular board isn't set (this violate HTML 4 standard), so most browsers which auto-detect language won't select Japanese.

You should add the following tag to the HTML output for this board and it's posts only. Make sure its inside of an <HTML> block, but not inside of anywhere else.

<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">

You can get more information about character encoding types here:

http://www.iana.org/assignments/character-sets

-- jdc


SubjectRe: kon'nichi wa! new  
Posted byMemblers
Posted on10/30/02 10:19 AM
From IP68.58.96.167  



I see, thanks for the info.

Hmmm, I don't know anything about perl, really. And it seems wwwthreads as been 'acquired' by another developer so there isn't any useful info on their website. (though I didn't check very thoroughly)

The change would probably be somewhat like this, right?
IF board = fcdev then print <META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">

If that's the case, then it shouldn't be _too_ hard to hack in if I can find some info about how perl works.

At least when I ran it through http://excite.co.jp/world/url/ it translated ok, so it seems to be alright when the browser assumes the page is in Japanese. Which I hope would be the case for someone running the Japanese version of windows.




SubjectRe: kon'nichi wa! new  
Posted byhally
Posted on10/30/02 10:23 AM
From IP61.202.93.19  



hi from japan :)

it's nice attempt. at least my ie5 succeeded to detect japanese on this board.

“ñŒ¾ŒêŠÔ‚Ì—Ç‚«Œð—¬?ê?Š‚Æ‚È‚é‚æ‚¤Šú‘Ò‚µ‚Ä‚¢‚Ü‚·?B




SubjectRe: kon'nichi wa! new  
Posted bymjt
Posted on10/30/02 1:56 PM
From IP211.4.34.191  



はじめまして。

Opera日本語版とMozilla英語版では正常に表示されました。(Windowsも日本語版です。)

問題を複雑にしているのは、日本語のエンコードは幾つもの種類があるので、サーバー側で変換しなければなら無いだろうということでしょうか…

現状では日本の多くの人々はWindows上のブラウザで用いられる"Shift_Jis"エンコードで書き込みをPOSTするので、
このままでも大きな問題は起こらないと思います。


(より詳しい方のフォロー求む…




SubjectRe: kon'nichi wa! new  
Posted byNetuagala
Posted on11/21/02 12:11 PM
From IP219.112.8.49  



間違いではないんですが基本的にブラウザはその文書のエンコードに従ってポストします。
(例外は多数有ります。IEとかIEとかIEとか)
ですので、Shift_Jisでエンコードしてる分には間違いないと思います。
多分(笑)
もし、慎重を期すべきならばJcodeモジュールやjcode.plを使用することをお勧めします。
一応英語でも書きますけどあんまり英語に自信がなかったり(笑)

It's not problem.
Maybe many blowser post "Encode Type" of text.
(Of cource,exception is many blowser.ex.IE,IE's compornemt,IE like browser...etc.:)
IF you encode Japanese message and this board writtend by perl.
You should use Jcode.pm or jcode.pl.
example...)
use Jcode;
jcode($FORM{MESS})->sjis;

require jcode.pl;
jcode'sjis(*FORM{MESS});

英語得意な方更正お願いします(笑)
っていうかjcodeの使い方も間違えてるような気も(笑)

ともかく、よろしくお願いします。




Previous ThreadView All Threads**Show in Threaded Mode
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo