[
https://issues.apache.org/jira/browse/TRAFODION-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702601#comment-16702601
]
ASF GitHub Bot commented on TRAFODION-3238:
-------------------------------------------
Github user Weixin-Xu commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1750#discussion_r237327092
--- Diff: win-odbc64/security_dll/native/source/secpwd.cpp ---
@@ -217,8 +221,25 @@ SecPwd::SecPwd(const char *dir, const char* fileName,
if(stat(certDir,&st) != 0)
throw SecurityException(DIR_NOTFOUND, (char *)certDir);
- certFile = buildName(certDir, fileName, serverName, CER);
- activeCertFile = buildName(certDir, activeFileName, serverName,
ACTIVE_CER);
+ if (lcid == 0x804) // if local charset is not utf8
--- End diff --
I will change "is not utf8" to "is gbk". Do you know how many character
sets we need?
> ODBC can not connect to server when the local language is gbk
> -------------------------------------------------------------
>
> Key: TRAFODION-3238
> URL: https://issues.apache.org/jira/browse/TRAFODION-3238
> Project: Apache Trafodion
> Issue Type: Bug
> Components: client-odbc-windows
> Affects Versions: any
> Reporter: XuWeixin
> Assignee: XuWeixin
> Priority: Major
> Fix For: 2.4
>
>
> # Set your current language used in non-unicode programs to GBK.
> # Create user name with chinese.
> # Test odbc.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)