原贴:http://www.linuxidc.com/Linux/2008-01/10295.htm
本人第一次把IE的收藏夹导入 Ubuntu的firefox中,结果是乱码,许多的方框。
轻松把IE的收藏夹导入到Ubuntu的firefox中
本人第一次把IE的收藏夹导入 Ubuntu的firefox中,结果是乱码,许多的方框。
关于编码:firefox采用utf-8,IE采用ansi。
解决方法:
从IE的收藏夹导出收藏夹,bookmark.htm,bookmark.htm汉字编码是gb2312,必须转化到utf-8才能导入到firefox
转换编码命令如下:
<script language=javaScript src="../../system/system60.js" type=text/javascript></script> <script type=text/javascript>
</script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript> </script> <script>window.google_render_ad();</script>
iconv -f gb2312 -t utf-8 -o bookmark-utf-8.htm bookmark.htm
然后打开firefox,管理书签,导入,选择bookmark-utf-8.htm