Issue 2 in project nzemberek

4 views
Skip to first unread message

codesite...@google.com

unread,
Dec 10, 2006, 5:59:07 AM12/10/06
to nzembere...@googlegroups.com
Issue 2: BinaryKokOkuyucu çal m yor.
http://code.google.com/p/nzemberek/issues/detail?id=2

Comment #1 by tankut.tekeli:
BinaryReader ile okumaya giristim.
Fakat .Net frameworkteki bu sinif UTF8 encoding ile initialize edilmesine ragmen tek
byte'tan buyuk sayisal degerleri (stringlerin basindaki uzunluk bilgisini ve 4 byte
integer olan frekans degerini) High Endian bekliyor. Sebebini anlamad m, careyi bu
bilgileri kendim byte byte okuyup hesaplamakta buldum. Bu sorun cozuldu.
Ikinci sorun da sonsesli char degerindeydi, onu da bos gorurse garip bir deger
atamasi yapiyor. Ben de kodu dosyadan gelen char'i IsLetter() metodu kontrol eden ve
sadece harfse atama yapan hale getirdim, kok'teki sonsesli attribute'un default
degerini de "char.MinValue" yaptim.
Cozumleme testleri binary dosya uzerinden calisiyor.(Verified)


Issue attribute updates:
Status: Verified

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply all
Reply to author
Forward
0 new messages