我尝试打印一个unicode,它是' \ U0001f4a9' 但它总是给代码而不是字符。
Public Function getAll() As DataSet
ConnectionDB()
Dim cmd As SqlClient.SqlCommand
cmd = New SqlClient.SqlCommand("SELECT * FROM table", Connect)//Connect is a System.Data.SqlClient.SqlConnection, or my connection string
Dim adapter As New Data.SqlClient.SqlDataAdapter
Dim dataset As New DataSet
adapter.SelectCommand = cmd
adapter.Fill(dataset)
adapter.Dispose()
cmd.Dispose()
Connect.Close()
Return dataset
End Function
是的,我的python的版本是3.5
答案 0 :(得分:1)
那是因为你实际上没有打印它,只是在REPL中显示它的表示。
3>> print(mystery)