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
Describe the bug
Client's socket raise timout error when object or text (or bucket name? not tested.) containing Chinese character on Window platform, but it works expectedly on Linux.
To Reproduce
Steps to reproduce the behavior:
Connect to sonic
Push or query something in Chinese, like ingestcl.push('wiki', 'default', 'something', '今天天气不错')
Expected behavior
Normal return.
** Versions (please complete the following information):**
OS: Windows 10
Sonic version: 1.3.2
Sonic client version: 0.0.5
Additional context
I believe that sonic expects UTF-8 encoding, which is the default encoding in Python3 on Linux, but on Windows default would be GBK instead.
The text was updated successfully, but these errors were encountered:
Describe the bug
Client's socket raise timout error when object or text (or bucket name? not tested.) containing Chinese character on Window platform, but it works expectedly on Linux.
To Reproduce
Steps to reproduce the behavior:
ingestcl.push('wiki', 'default', 'something', '今天天气不错')
Expected behavior
Normal return.
** Versions (please complete the following information):**
Additional context
I believe that sonic expects UTF-8 encoding, which is the default encoding in Python3 on Linux, but on Windows default would be GBK instead.
The text was updated successfully, but these errors were encountered: