📄 11713.html
字号:
<html>
<head>
<title>Use binary mode to open unicode files</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Use binary mode to open unicode files</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:yfwu@iname.com">小吴</a> on April 07, 1999 at 10:37:05:<p>
In Reply to: <a href="11679.html">To Xiao Wu and all: Unicode...</a> posted by wei on April 06, 1999 at 06:58:07:<p>
Unicode text file has 2-byte header: 0xFF, 0xFE<br>If you find the header, then you must use binary mode to open the file. For example:<p>Open "C:\unicode.txt" For Binary As #1<br>str = InputB$(LOF(1), 1)<br>CLOSE #1<p>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 11713-->
</ul><!--end: 11713-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -