[Seasar-user:14463] Re: [Teeda]文字化けについて

Koichi Kobayashi [E-MAIL ADDRESS DELETED]
2008年 5月 27日 (火) 21:30:04 JST


$B>.NS(B (koichik) $B$G$9!%(B

Date:    Tue, 27 May 2008 21:18:03 +0900
From:    fujihara <[E-MAIL ADDRESS DELETED]>
To:      [E-MAIL ADDRESS DELETED]
Subject: [Seasar-user:14462] Re: [Teeda]$BJ8;z2=$1$K$D$$$F(B

> $B0J2<$NJ}K!$G%@%s%W$7$^$7$?$,(B
> 
> $B-!(BSystem.out.println("getGidNo=" + disp.getGidNo());
> 
> $B-"(Bbyte[] bytes = disp.getGidNo().getBytes("EUC-JP");
> new sun.misc.HexDumpEncoder().encode(bytes, System.out);
> 
> $B-!(BgetGidNo=$B;n5D!](B20080311$B!](B001
> 
> $B-"(B0000: BB EE B5 C4 3F 32 30 30 38 30 33 31 31 3F 30 30 ....?20080311?00
> 
> 
> '$B;n(B'=0xBBEE
> '$B5D(B'=0xB5C4
> '$B!](B'=0x3F$B$H4{$K2=$1$F$$$^$9!#(B
> 
> $B8!>Z$N;EJ}$,$^$:$$$N$G$7$g$&$+!)(B

EUC $B$G$O$J$/!$(BUnicode $B$G$N%3!<%I$,CN$j$?$$$N$G!$(B
$B%3!<%IJQ49$7$J$$$G$/$@$5$$!%(B

for (char c : disp.getGidNo().toCharArray) {
  System.out.print(Integer.toHexString(c) + " ");
}

$B$C$F46$8$G!%(B


-- 
<component name="koichik">
    <property name="fullName">"Koichi Kobayashi"</property>
    <property name="email">"[E-MAIL ADDRESS DELETED]"</property>
    <property name="blog">"http://d.hatena.ne.jp/koichik"</property>
</component>



Seasar-user メーリングリストの案内