如何修复我的 oracle LCConnection 字符集覆盖警告消息
How to fix my oracle LCConnection charset override warning message
在 LotusScript 中为我的 IBM Notes 应用程序创建 Oracle LCConnection 以访问我的 Oracle Inventory 服务器数据时,我收到一条奇怪的警告消息。
警告信息如下:
Connector message: Character set overriding 'Overriding Oracle
codepage to AL32UTF8 (LCSTREAMFMT 171) from source Oracle Server',
Connector 'oracle', Method
为了获得此警告消息,我在我的 IBM Notes 应用程序中使用了以下诊断代码:
If (gLCSession.status = LCSUCCESS) Then
connect = True
gIsConnected = True
Print "Connexion établie"
Else
Dim statusTxt As String
Dim extcode As Long
Dim exttext As String
Call gLCSession.GetStatus (statusTxt, extcode, exttext)
If (gLCSession.Status = LCFAIL_EXTERNAL) Then
Print "External fail message: " & exttext & " code #" & CStr(extcode)
Else
Print "Connector message: " & statusTxt
End If
End If
我的应用程序 运行 在 IBM Domino 服务器 9.0.1 FP10 x64 上 Windows 服务器 2012 x64。此服务器上还安装了 Oracle 客户端 12.1.0.2 x64 以与 Oracle Inventory EBS 服务器通信。
经过调查,我发现我的 Oracle Inventory 服务器设置为接收 AL32UTF8 字符集消息。
为了消除此客户端 oracle 连接器消息,我使用以下值修改了 Domino 服务器中的 Notes.ini 文件:
EIOracle8NativeText=AL32UTF8
这对我来说没问题,因为它不会对我的 Domino 服务器上的其他应用程序产生负面影响。
或者,我读到 here 可以通过将 AL32UTF8 分配给 NLS_LANG 注册表项来在 Oracle 客户端级别进行配置。另一种选择是在调用 LCConnection 流函数时将字符集作为参数注入。
在 LotusScript 中为我的 IBM Notes 应用程序创建 Oracle LCConnection 以访问我的 Oracle Inventory 服务器数据时,我收到一条奇怪的警告消息。
警告信息如下:
Connector message: Character set overriding 'Overriding Oracle codepage to AL32UTF8 (LCSTREAMFMT 171) from source Oracle Server', Connector 'oracle', Method
为了获得此警告消息,我在我的 IBM Notes 应用程序中使用了以下诊断代码:
If (gLCSession.status = LCSUCCESS) Then
connect = True
gIsConnected = True
Print "Connexion établie"
Else
Dim statusTxt As String
Dim extcode As Long
Dim exttext As String
Call gLCSession.GetStatus (statusTxt, extcode, exttext)
If (gLCSession.Status = LCFAIL_EXTERNAL) Then
Print "External fail message: " & exttext & " code #" & CStr(extcode)
Else
Print "Connector message: " & statusTxt
End If
End If
我的应用程序 运行 在 IBM Domino 服务器 9.0.1 FP10 x64 上 Windows 服务器 2012 x64。此服务器上还安装了 Oracle 客户端 12.1.0.2 x64 以与 Oracle Inventory EBS 服务器通信。
经过调查,我发现我的 Oracle Inventory 服务器设置为接收 AL32UTF8 字符集消息。
为了消除此客户端 oracle 连接器消息,我使用以下值修改了 Domino 服务器中的 Notes.ini 文件:
EIOracle8NativeText=AL32UTF8
这对我来说没问题,因为它不会对我的 Domino 服务器上的其他应用程序产生负面影响。
或者,我读到 here 可以通过将 AL32UTF8 分配给 NLS_LANG 注册表项来在 Oracle 客户端级别进行配置。另一种选择是在调用 LCConnection 流函数时将字符集作为参数注入。