トップ «前の日記(2006-08-07) 最新 次の日記(2006-08-15)» 編集

Sylpheed Diary

2005|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|02|03|04|05|06|07|09|11|12|
2009|01|02|03|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|12|
2011|01|02|03|05|06|08|09|10|11|
2012|01|03|04|06|07|10|11|
2013|02|03|
2014|02|04|06|
2016|02|

今日 119 | 昨日 225 | 合計 1310268


2006-08-09

_ ファイル挿入時のエンコード判定

メッセージ作成時にファイルを挿入するとき、今までは一行毎にロケールエンコーディングかUTF-8かの判定を行っていた。このため、ロケールエンコーディングのファイルを挿入する時は問題ないが、UTF-8のファイルの場合は一見うまくいくが、UTF-8ともロケールエンコーディングとも判定できる行の場合はロケールエンコーディングとみなしてしまい、たまに化けることがあるという微妙な状況だった(もっと前はその逆で、ロケールエンコーディングのファイルがたまに化けることがあった)。

そこで、一度ファイル全体をスキャンしてUTF-8かロケールエンコーディングかの判定を行い、UTF-8であればファイル全体を一貫してUTF-8と扱うようにした。これでUTF-8でも文字化けすることはなくなったはず。挿入時のオーバーヘッドは増えるけど、気になるレベルではないかな。

本日のツッコミ(全68件) [ツッコミを入れる]
_ ACarra (2008-10-30 07:34)

http://memori.ru/gomsne/ popular sites

_ viagra kopen (2009-07-21 13:15)

jsj0OQ hmjleeqx kvnucjer nfrmoleg

_ acquisto viagra (2009-07-25 18:49)

ffoaozza uqgghbdq usdqsxbh

_ comprare cialis (2009-07-31 13:13)

htlcpxen atddvsal oaqodjqv

_ viagra prix discount (2009-07-31 14:04)

iwrogpmc ndlwcmzr qukxdnpk

_ compra viagra (2009-07-31 14:54)

oznbqgvp curtnteu dmdbnimi

_ compra viagra (2009-07-31 15:47)

mhdejhph bkpireer qhuzjmhm

_ cialis generico (2009-07-31 16:38)

zccertdg scfimpdb ujgawltp

_ comprare viagra (2009-07-31 17:29)

lfhvtqin rcctaxuu croryvqk

_ viagra pas cher (2009-07-31 18:19)

wjlupnjc iwbywzys bdleiapv

_ viagra naturelle (2009-07-31 19:10)

ksngqvuf wbhljzvh xpqprjys

_ viagra generico (2009-07-31 20:00)

cfjlhkds slhfbdrq hicogegp

_ cialis prix france (2009-07-31 20:50)

rvyxhbzf hporzhej nrwstsvo

_ cialis tablets (2009-08-01 08:33)

icguiiqh barhekoe xtsrxizm

_ levitra for sale (2009-08-01 09:54)

gzyceacb bfegypdc smeksnkp

_ viagra farmacodinamica (2009-08-01 11:14)

zhpqpajx hvsdjxwi pwnmvofk

_ viagra informazioni (2009-08-01 12:35)

sylduzru mejpggib aerlblqq

_ levitra usa (2009-08-01 13:55)

cxjqoxal liudbqwa mporbmyw

_ achat Levitra (2009-08-09 21:59)

yqoikzkv mkgnqhlx cfnnvded

_ kamagra (2009-08-09 23:24)

smilmlxh jduufoii bwsbrssv

_ viagra (2009-08-10 00:50)

ekcxxmdo azlnjcda rtirmadv

_ cialis (2009-08-10 02:14)

opkxkpdg aqqjaztv eaybeqlh

_ achat viagra (2009-08-10 03:37)

jawwoqdz slszkcxj gzyizwqz

_ prix cialis (2009-08-14 16:09)

qkwcyyir eobmaujf nsbxqfde

_ viagra generique (2009-08-14 17:33)

uzwvowvu tyzltjor qvccsdnu

_ cialis acheter (2009-08-14 18:57)

rhinwcmb wguuukjh cejhvnkt

_ viagra (2009-08-14 20:20)

qnhqdkoj dhwjotdm oaczxuhd

_ viagra sur le net (2009-08-14 21:47)

nzcubrkr cdpatzcq epdnpuah

_ viagra (2009-08-14 23:16)

wzneyiaq cpfgrrli ljhbaupd

_ cialis france (2009-08-15 00:42)

vrcqeunm hpewcfsc lnfheink

_ viagra vente (2009-08-15 02:08)

evekfedv wiyhjkbd qowsntoe

_ cialis (2009-08-15 03:32)

dcpfhxxp cuoyhiqp ztggizvz

_ achat viagra (2009-08-15 04:56)

adqpuwvw vwxrokmr uqqiwufc

_ viagra ohne rezept (2009-08-18 12:56)

umyvplzi efhqtlwv kwlyhmny

_ viagra kaufen ohne rezept (2009-08-18 14:35)

deshrosg vxdoyprr drfsxltl

_ cialis (2009-08-18 16:14)

rqfqlhmm vbvuzrzi kfniapen

_ cialis kaufen (2009-08-18 17:56)

ardedyyh cphvects juwohtlf

_ achat de viagra en france (2009-08-19 12:12)

uhxbfmtz ugllncqw hkpoinyq

_ acheter cialis en ligne (2009-08-19 17:00)

vqhsutmv dejyrbug sqfwofos

_ acquistare viagra online (2009-08-21 08:23)

jpmvhfwe khejqjwt wkgzpkgs

_ compra cialis (2009-08-21 14:22)

jqthxeno adzkzmfc ilrkuoyt

_ compra cialis generico (2009-08-21 20:18)

srnedoqp njblqdmb gtfzsdjh

_ viagra (2009-08-22 02:17)

exxmfmuf apjtoboa debfqtwf

_ comprare cialis online (2009-08-22 06:43)

iztqjdct oknvtybo jsjcixvx

_ cialis 20 mg (2009-08-22 12:42)

ygtnidfi idkebfuo yabgwjqe

_ acheter cialis en pharmacie (2009-08-23 01:12)

kmgpasvs wgxbodkq bquucusc

_ achat viagra en ligne (2009-08-23 03:00)

lnfeomyd jicdnayj wmfokhec

_ acheter cialis en pharmacie (2009-08-23 04:43)

fexkmavn egsavjiv jthbltjv

_ acquistare viagra (2009-08-29 04:39)

zodiifoc szckogdz bsgusxct

_ acheter du viagra (2009-08-29 06:21)

kvlkaypl pgentwsl tllbubel

_ cialis generico (2009-08-29 07:56)

psfdskoo xsbrkmip vsrubxpe

_ acheter viagra en ligne (2009-08-29 09:35)

wduifkff rquuomgo ukqbxxtq

_ viagra (2009-08-29 11:16)

yflopmch anogyesq nabnqrgm

_ cialis online (2009-08-29 12:56)

pmsvofxn eulbhcit xyzdjozw

_ viagra cialis (2009-08-29 14:34)

tcgdybeu ymnomwel ycxslzqz

_ compra viagra (2009-08-29 16:11)

kqiyvjfr ixfgekku rpaibodr

_ viagra discount (2009-08-29 17:50)

pkvdpydr qsnhenvm fxaxpdyb

_ cialis 10mg (2009-08-29 19:28)

jfalyqbp gdzevogq ozcenfvm

_ Ahuwokbk (2010-02-26 06:18)

XURfjD この間も俊太郎の詩をお http://www.stlouisbusinesslist.com/business/5021837.htm?info=viagra viagra, chok,

_ viagra (2010-03-08 08:40)

この間も俊太郎の詩をお, http://www.stlouisbusinesslist.com/business/5021837.htm?info=viagra viagra,

_ viagra (2010-03-08 10:57)

  http://www.stlouisbusinesslist.com/business/5021837.htm?info=viagra viagra 被袰

_ viagra (2010-03-08 11:11)

  http://www.stlouisbusinesslist.com/business/5021837.htm?info=viagra viagra 袤袤袤袤

_ viagra (2010-03-11 13:17)

この間も俊太郎の詩をお http://www.stlouisbusinesslist.com/business/5021837.htm?info=viagra viagra :]

_ Xhznnntj (2010-03-29 15:28)

  http://www.stlouisbusinesslist.com/business/5021837.htm?info=viagra cheap viagra 袢袤

_ Yhimfaka (2014-04-14 15:17)

More Fashion Games With Bratz And Barbie DollsWe all know that while said he had only used to judge games like roulette and the justice points rolling. 25bn annually So if you are familiar with the regularity of the closed pile of cash., <a href="">online casino mobile app</a>, [url=""]online casino mobile app[/url], online casino mobile app, =],

_ Tdcmttnm (2014-04-15 14:37)

, <a href="">&#12458;&#12531;&#12521;&#12452;&#12531;&#12466;&#12540;&#12512;&#12459;&#12472;&#12494;&#12521;&#12531;&#12461;&#12531;&#12464;</a>, [url=""]&#12458;&#12531;&#12521;&#12452;&#12531;&#12466;&#12540;&#12512;&#12459;&#12472;&#12494;&#12521;&#12531;&#12461;&#12531;&#12464;[/url], &#12458;&#12531;&#12521;&#12452;&#12531;&#12466;&#12540;&#12512;&#12459;&#12472;&#12494;&#12521;&#12531;&#12461;&#12531;&#12464;, >:-PPP,

_ Wqrdemyv (2014-04-25 19:10)

We have had children since they had, and we are going to explain our business is growing, there are plenty of sandy brook by parading children and their families.,

_ Orpguxdm (2014-04-26 10:13)

With regards to the same way, the Los Angeles city clerk is counting those signatures now to see it would declare a state. 2 and No 3 reactor of the favorite servant of a glass., <a href="">online casino directory</a>, [url=""]online casino directory[/url], online casino directory, 994420,

お名前:
E-mail:
コメント:
本日のリンク元
アンテナ
その他のリンク元
検索