Skip to content

Object Browser: Member text description displays incorrectly (umlauts, CCSID 273) #2829

@3lku

Description

@3lku

Hi,

In the Object Browser, the member description (text field) of source members is shown incorrectly if it contains German umlauts (ä, ö, ü).
Instead of displaying the correct characters, is shows replacement characters (�).

Image

On the 5250 itself, the text is correctly displayed.

Image Image

The source file uses CCSID 273, and the setting "sourceFileCCSID": "*file" is active.

Image

Could it be related to the issue that wasn’t fully fixed in #2334?

( "Fix test 'check getMemberInfo' which has been broken since we introduced components" )


To Reproduce
Steps to reproduce the behavior:

  1. Create a source physical file and member on the IBM i system using 5250, and enter a member description that contains umlauts (e.g., äöü).
    (Alternatively, use an existing member with umlauts in its text description.)

  2. Connect to IBM i system in VS Code using vscode-ibmi

  3. Open the Object Browser

  4. Navigate to a source physical file (e.g. test123) that contains a member with umlauts in the description

  5. Observe that the description shows ��� instead of äöü


Expected behavior
The Object Browser should correctly show the umlauts as stored in the source member description, e.g. Umlaute äöü, when CCSID is 273.


Context Version
Code for IBM i version 2.16.3
Visual Studio Code version 1.102.3
Operating System win32_x64
Active extensions
COBOL (cobol): 25.7.28
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.5.0
Db2 for IBM i (vscode-db2i): 1.13.3
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.26.0
Erweiterungserstellung (extension-editing): 1.0.0
Git (git): 1.0.0
Git-Basis (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub-Authentifizierung (github-authentication): 0.0.2
IBM i Debug (ibmidebug): 3.0.0
IBM i Project Explorer (vscode-ibmi-projectexplorer): 2.12.3
JSON-Sprachfeatures (json-language-features): 1.0.0
Konfigurationsänderung (configuration-editing): 1.0.0
Live Server (LiveServer): 5.7.9
Merge-Konflikt (merge-conflict): 1.0.0
Node-Debugging – Automatisches Anfügen (debug-auto-launch): 1.0.0
Prettier - Code formatter (prettier-vscode): 11.0.0
RPGLE (vscode-rpgle): 0.32.2
Source Orbit (vscode-sourceorbit): 1.4.1
TypeScript- und JavaScript-Sprachfeatures (typescript-language-features): 1.0.0
npm-Unterstützung für VS Code (npm): 1.0.1

Remote system
Setting Value
IBM i OS V7R4M0
Tech Refresh 10
CCSID Origin 273
Runtime CCSID 273
Default CCSID 273
SSHD CCSID ?
cqsh true
SQL Enabled
Source dates Disabled
Shell env
BUILDLIB=QGPL
CURLIB=QGPL

LIBLS=QTEMP QGPL

PATH=/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
SHELL=/QOpenSys/usr/bin/bsh
Variants
{
  "american": "#@$",
  "local": "#�$",
  "qsysNameRegex": {}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions