最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
正确显示数据库里同时存在的GB码和BIG5码:
时间:2022-06-30 11:18:33 编辑:袖梨 来源:一聚教程网
Public Function CheckBIG(strSource As String) As Boolean
Dim idx As Long
Dim ByteTemp() As Byte
CheckBIG = False
For idx = 1 To Len(strSource)
ByteTemp = StrConv(Mid(strSource, idx, 1), vbFromUnicode)
If UBound(ByteTemp) > 0 Then
If (ByteTemp(1) >= 64) And (ByteTemp(1) <= 126) Then
CheckBIG = True
Exit For
End If
End If
Next idx
End Function
Dim idx As Long
Dim ByteTemp() As Byte
CheckBIG = False
For idx = 1 To Len(strSource)
ByteTemp = StrConv(Mid(strSource, idx, 1), vbFromUnicode)
If UBound(ByteTemp) > 0 Then
If (ByteTemp(1) >= 64) And (ByteTemp(1) <= 126) Then
CheckBIG = True
Exit For
End If
End If
Next idx
End Function
相关文章
- 使命召唤手游官网入口在哪-官方正版网页地址 08-03
- spark读取hbase需要哪些条件 08-03
- spark读取hbase复杂度高吗 08-03
- spark读取hbase速度如何 08-03
- spark读取hbase数据准确吗 08-03
- hbase zookeeper 如何优化配置 08-03