You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to confirm if you see same issue with 19c DB version.
I verified with cloud db (contrib/free.db , 19.21.0.1.0 ) and 21.3.0.0.0 , it works fine.
Also can you share the DB charset used (SELECT value AS db_charset FROM nls_database_parameters WHERE parameter = 'NLS_CHARACTERSET')
Describe the bug
When inserting Chinese '𡚸' into a field of type nvarchar2, the result is '?'
To Reproduce
`
id := time.Now().Unix()
db.Exec("INSERT INTO "TESTUCHAR" ("ID","U_CHAR","VAR_CHAR") VALUES (:1,:2,:3)", id, "𡚸", "𡚸")
row := db.QueryRow("SELECT "U_CHAR" FROM "TESTUCHAR" WHERE ID = :1", id)
var result string
row.Scan(&result)
fmt.Print(result)
// output is : ?
`
Expected behavior
Insert normal characters
Error output
no error
Your oracle client version
21.7.0.0.0dbru
Your godror version
v0.34.0
Your go version
1.19.1
Your gcc version
gcc version 8.5.0 20210514 (Red Hat 8.5.0-4) (GCC)
Machine (please complete the following information):
The text was updated successfully, but these errors were encountered: