interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Polyglot Notebook: [NetTestingE2E][GB18030]Fail to return the correct list when searching keywords contained with GB18030 chars "G㐁ACD..." in Polyglot Notebook variables - filter field.

Open v-hozha1 opened this issue 7 months ago • 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㐁ACD", 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ⅷCD丂~荳

  • Search with full above strings "龭唉𫓧㎎G㐁AⅷCD丂~荳" - Repro this issue
  • Search with the strings "龭唉𫓧㎎ⅷ丂~荳" - Pass

Note:

  1. Repro VM: 172.16.194.187
  2. 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:

  1. Ctrl+Shift+P => "Polyglot Notebook: Create new blank notebook"
  2. Select "Create as .dib" ->Select "C#"
  3. Set the cell contents to var x= "龭唉𫓧㎎G㐁AⅷCD丂~荳"; and execute cell
  4. In Polyglot Notebook variables - filter field, paste the string 龭唉𫓧㎎G㐁AⅷCD丂~荳 - > check the returned list.

Actual Results: No content show in Polyglot Notebook variables table. Image

Image

Expected Result: It should be return the correct list, like below screenshot which removed the unsupported chars.

Image

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)

v-hozha1 avatar Jul 04 '25 05:07 v-hozha1