ibmdb / vscode-extension

vscode extenstion for db2 as db2connect
7 stars 2 forks source link

Data with Japanese charcters are not displayed #32

Closed kyokonishito closed 2 years ago

kyokonishito commented 3 years ago

We can not display any Japanese charcters.

Steps to Reproduce:

  1. Connect to a db2 db

  2. Show the tree view and we can not see Japanese characters in a table name. The actual table name is COVID_19_東京. image

  3. Click a table name COVID_19_ which has all column names with Japanese characters from the tree view . We can not see any colum names and we received No COLUMNS in this tables error. image

  4. Right click a table name COVID_19_ and click 'Select Top 1000', then we received an error Query execution failed: Error: [IBM][CLI Driver][DB2/LINUXX8664] SQL0204N "NISHITO.COVID_19_ " is an undefined name. SQLSTATE=42704. image

  5. Right click a table name MEMBER which has Japanese characters in NAME column and click 'Select Top 1000', then we can not see any Japanese characters in NAME column. image

I attached the images with DBeaver which is an OSS tool , can display Japanese correctly for your infomation: image

akhilravuri1 commented 3 years ago

Hi @kyokonishito

I will try to reproduce the issue.

Thanks, Akhil

akhilravuri1 commented 3 years ago

Hi @kyokonishito

I am able to reproduce the issue. I Will let you know if this can be solved using a change in settings or env.

Thanks, Akhil

jgantriis commented 3 years ago

We are having similar problems using codepage 1252. Any way to set codepage via the optional connection properties?

kyokonishito commented 2 years ago

I confirmed Japanese characters can be displayed with v2.3.0. Thanks.