http://blog.chinaunix.net/uid-20639775-id-3382620.htmlhttp://bbs.chinaunix.net/thread-1713194-1-1.htmlconvert to UTF8?I'm trying to fix an issue for someone who's using a meta-search engine on a French web site. The data being pulled in, I would have assumed, should already be in UTF-8, since...【阅读全文】
执行报错:DBD::mysql::st execute failed: Illegal mix of collations (gb2312_chinese_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation '=' at ./mysql_check.pl line 12.一看发现是编码问题解决办法:$dbh->do("set names utf8;"); #插入此行my $sth = $dbh->do(含有中文字符的sql命令...【阅读全文】
#!/usr/bin/perl -w$|=1;print "input your genome sequence,then press Enter!\n";my $seq=<STDIN>;open FASTA,"$seq" or die "can not open FASTA file,$!";print "input your gff file name,then press Enter!\n";my $gff=<STDIN>;open GFF,"$gff" or die "can not open GFF file,$!";open OUT,">gene_sequence"...【阅读全文】