以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 Dot NET,C#,ASP,VB 』  (http://bbs.xml.org.cn/list.asp?boardid=43)
----  asp文本读写adodb.stream组件utf-8内码下的bom问题  (http://bbs.xml.org.cn/dispbbs.asp?boardid=43&rootid=&id=40620)


--  作者:hwshine
--  发布时间:11/28/2006 5:45:00 PM

--  asp文本读写adodb.stream组件utf-8内码下的bom问题
采用adodb.stream做asp文本文件读写,使用utf-8编码,结果生成html w3c提示文件头有bom代码,请问如何生成时候去掉这个文件头?

已经做过的尝试:

待读取文本文件经过ultraedit存储为不带bom utf-8编码

读取过程 position 设置为2

读取及写入文件 chrset均为 utf-8

还需要做什么呢?


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
125.000ms