Polyglot Notebook: [NetTestingE2E][GB18030]Fail to return the correct list when searching keywords contained with GB18030 chars "G㐁ACD..." in Polyglot Notebook variables - filter field.
Opened this issue · 0 comments
Describe the bug:
Fail to return the correct list when searching GB18030 short sample strings in Polyglot Notebook variables - filter field. If we remove the chars "G㐁ACD", it will return the accurate list in Polyglot Notebook variables table.
Test Data
Sample Strings: Short sample strings for inputs with length limitation: 龭唉𫓧㎎G㐁AⅷCD丂~荳
- Search with full above strings "龭唉𫓧㎎G㐁AⅷCD丂~荳" - Repro this issue
- Search with the strings "龭唉𫓧㎎ⅷ丂~荳" - Pass
Note:
- Repro VM: 172.16.194.187
- Test on Win 11 24H2 ZH-CN (Chinese (Simplified) Loc OS)
Pre-steps:
1.On Chinese OS, install VSCode and dotnet-interactive-vscode-1.0.6323011.vsix extension component.
2. Install the language package of Chinese (Simplified) from VSCode -> Change the display language of VSCode to Chinese (Simplified)
Steps:
- Ctrl+Shift+P => "Polyglot Notebook: Create new blank notebook"
- Select "Create as .dib" ->Select "C#"
- Set the cell contents to var x= "龭唉𫓧㎎G㐁AⅷCD丂~荳"; and execute cell
- In Polyglot Notebook variables - filter field, paste the string 龭唉𫓧㎎G㐁AⅷCD丂~荳 - > check the returned list.
Actual Results:
No content show in Polyglot Notebook variables table.

Expected Result:
It should be return the correct list, like below screenshot which removed the unsupported chars.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
- OS
- [ √] Windows 11
- Windows 10
- macOS
- Linux (Please specify distro)
- iOS
- Android
- Browser
- Chrome
- Edge
- Firefox
- Safari
- Frontend
- Jupyter Notebook
- Jupyter Lab
- nteract
- Visual Studio Code
- Visual Studio Code Insiders
- [√ ] Visual Studio
- Other (please specify)

