用iconv函数将gb2312转换为utf-8时,怎么有些汉字会出现问题,像"??;字就会提示如下:Notice: iconv() [function.iconv]: Detected an illegal character in input string
解决方法:
- iconv('UTF-8', 'GB2312//IGNORE', '??')
- iconv('UTF-8', 'GBK', '??')
或者是编码不对,或者增加抑制符@,我们还可以使用其它方法操作,做一个GBK To UTF-8
mb_convert_encoding()使用详解,php代码如下:
- <!–?php
- header("content-Type: text/html; charset=Utf-8");
- echo mb_convert_encoding("???S我的友仔", "UTF-8", "GBK");
- ?>
再来个GB2312 To Big5,代码如下:
- <!–?php
- header("content-Type: text/html; charset=big5");
- echo mb_convert_encoding("你是我的朋友", "big5", "GB2312");
- ?>
波比源码 – 精品源码模版分享 | www.bobi11.com
1. 本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 本站源码并不保证全部能正常使用,仅供有技术基础的人学习研究,请谨慎下载
8. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
波比源码 » iconv() [function.iconv]: Detected an illegal character in
波比源码 » iconv() [function.iconv]: Detected an illegal character in
levaquin online order levofloxacin price
buy generic dutasteride buy zofran 4mg pill buy ondansetron 4mg sale
spironolactone over the counter buy valtrex for sale buy diflucan 100mg sale
ampicillin without prescription order ampicillin 500mg erythromycin price
cheap fildena methocarbamol cost buy methocarbamol 500mg generic
buy suhagra online cheap sildenafil for sale estradiol online buy
lamictal online order cost retin cream order tretinoin gel without prescription
tadalafil 20mg cheap buy voltaren online cheap diclofenac 100mg oral
buy accutane without prescription order amoxicillin 250mg online cheap order azithromycin 500mg pill
generic indocin 50mg order amoxicillin online cheap trimox pills
cost tadalafil 10mg Viagra alternative order viagra pills
arimidex medication arimidex 1 mg us order sildenafil 100mg pill
pharmacie en ligne cialis 10mg viagra 25mg generique en pharmacie acheter 100mg du sildenafil
order generic deltasone 20mg order prednisone 40mg online cheap viagra pill
tadalafil 10mg kaufen für männer viagra 100mg kaufen ohne rezept viagra 100mg bestellen
order doxycycline online cheap cost doxycycline 200mg buy lasix 40mg online
generic buspirone 10mg order phenytoin order oxybutynin for sale
hytrin us order leflunomide 10mg online order sulfasalazine 500 mg online
order benicar pill brand verapamil 240mg acetazolamide without prescription
buy generic tacrolimus 1mg tacrolimus 5mg usa oral urso 150mg
order bupropion 150mg pills strattera 10mg cost buy quetiapine 50mg pills
order molnunat 200 mg pills order naproxen sale lansoprazole 15mg cost
buy provigil order provigil 200mg generic ivermectin 3mg pills for humans
zithromax 500mg oral buy gabapentin 600mg generic cheap neurontin pills
tadalafil 40mg cheap buy viagra 50mg generic buy sildenafil 100mg without prescription
order lasix for sale plaquenil 400mg cheap buy hydroxychloroquine sale
buy sporanox 100 mg buy sporanox 100 mg online tinidazole 500mg over the counter
zyprexa 10mg brand buy generic olanzapine 10mg order valsartan pills
norvasc online buy canadian viagra order cialis 5mg
purchase clozapine online cheap cost clozapine 50mg order generic dexamethasone 0,5 mg
brand omeprazole 10mg write papers for me online poker free
order linezolid 600 mg online play poker online for real money online casino games for real money
lopressor 50mg cost brand vardenafil 10mg levitra 20mg pills
levitra 20mg canada vardenafil 20mg tablet methylprednisolone cost
essay writing order sildenafil 50mg sale order sildenafil online cheap
buy generic clomid 50mg albuterol price play blackjack online for real money
aristocort 4mg cheap purchase loratadine pill order desloratadine 5mg without prescription
cost dapoxetine 60mg priligy 30mg cheap synthroid 75mcg drug
cialis 20mg tablet viagra usa buy viagra 50mg generic
xenical 120mg pills cost orlistat 120mg order zovirax 800mg online
tadalafil 10mg drug plavix order order clopidogrel for sale
zyloprim 100mg generic cost rosuvastatin 10mg order ezetimibe 10mg pills
domperidone 10mg uk domperidone sale cyclobenzaprine canada
order sumatriptan online cheap buy levaquin 500mg pills avodart price
buy zantac without prescription celecoxib brand buy celebrex online cheap
buy tamsulosin 0.4mg for sale order tamsulosin 0.4mg pills order aldactone 25mg
cheap tadalafil 5mg order ampicillin 500mg pills cipro cheap
metronidazole 400mg cheap generic clavulanate purchase bactrim pills
fluconazole 200mg cost buy sildenafil 50mg pills viagra 150mg
buy cialis 40mg online real cialis sites cheap viagra 50mg