Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some characters not displayed in the Language combo box #8018

Closed
1 task done
hkly-1245 opened this issue Aug 22, 2023 · 5 comments · Fixed by #8171
Closed
1 task done

Some characters not displayed in the Language combo box #8018

hkly-1245 opened this issue Aug 22, 2023 · 5 comments · Fixed by #8171
Assignees
Milestone

Comments

@hkly-1245
Copy link
Contributor

Describe the bug

When the en_US locale is used, in the "Options" window then "Language" menu, some Select Box items for the "Languages:" option are not displayed correctly. This probably because of an encoding error.

Steps to reproduce the behavior

Go to "Tools" menu -> click "Options"

In the Option window, Select "Language" item from the "Options" Select drop down.

In the "Language" form: click on the "Language" SelectBox, scroll to the bottom.

Expected behavior

For each locale, each item in the Language Select Box should be correctly encoded.

Software versions

ZAP
Version: Dev Build

Installed Add-ons: [[id=callhome, version=0.8.0], [id=help,
version=17.0.0], [id=help_ar_SA, version=2.0.0],
[id=help_az_AZ, version=1.0.0], [id=help_bs_BA,
version=10.0.0], [id=help_da_DK, version=1.0.0],
[id=help_de_DE, version=1.0.0], [id=help_el_GR,
version=1.0.0], [id=help_es_ES, version=11.0.0],
[id=help_fa_IR, version=1.0.0], [id=help_fil_PH,
version=4.0.0], [id=help_fr_FR, version=11.0.0],
[id=help_hi_IN, version=1.0.0], [id=help_hr_HR,
version=1.0.0], [id=help_hu_HU, version=1.0.0],
[id=help_id_ID, version=4.0.0], [id=help_it_IT,
version=1.0.0], [id=help_ja_JP, version=11.0.0],
[id=help_ko_KR, version=1.0.0], [id=help_ms_MY,
version=2.0.0], [id=help_pl_PL, version=1.0.0],
[id=help_pt_BR, version=12.0.0], [id=help_ro_RO,
version=1.0.0], [id=help_ru_RU, version=3.0.0],
[id=help_si_LK, version=1.0.0], [id=help_sk_SK,
version=1.0.0], [id=help_sl_SI, version=1.0.0],
[id=help_sq_AL, version=1.0.0], [id=help_sr_CS,
version=1.0.0], [id=help_sr_SP, version=1.0.0],
[id=help_tr_TR, version=3.0.0], [id=help_ur_PK,
version=1.0.0], [id=help_zh_CN, version=4.0.0], [id=network,
version=0.11.0]]

Operating System: Windows 10
Architecture: amd64
Java Version: Oracle Corporation 17.0.2
System's Locale: en_US
Display Locale: en_GB
Format Locale: en_US
Default Charset: windows-1252
ZAP Home Directory: C:\Users\hkly\ZAP_D
ZAP Installation Directory: C:\Users\hkly\OneDrive\Documents\GitHub\git_collabs\zaproxy\zap\src\main\dist.
Look and Feel: FlatLaf Light (com.formdev.flatlaf.FlatLightLaf)

Screenshots

image

Errors from the zap.log file

No response

Additional context

No response

Would you like to help fix this issue?

  • Yes
@hkly-1245 hkly-1245 added the bug label Aug 22, 2023
@thc202
Copy link
Member

thc202 commented Aug 22, 2023

That's a problem with the font which is not able to render those characters. You might want to selected other font in the Display options panel (assuming the system has one that is able to render those characters, it works fine in macOS and Linux distros).

@thc202 thc202 added Component-UI and removed bug labels Aug 22, 2023
@kingthorin
Copy link
Member

Might need to ensure use of composite fonts.

#5542 (comment)

@thc202
Copy link
Member

thc202 commented Aug 24, 2023

Does it explain why it's rendered correctly in other systems/fonts? If you select Arial in Windows the Kanji is no longer rendered while with the default font it is.

@thc202 thc202 changed the title Options window: wrong charset for Language name display Some characters not displayed in the Language combo box when using Windows Aug 24, 2023
@kingthorin
Copy link
Member

Hmm good question, I'm not sure.

@thc202 thc202 added bug and removed OpSys-Windows labels Nov 5, 2023
@thc202 thc202 added this to the 2.15.0 milestone Nov 5, 2023
@thc202 thc202 changed the title Some characters not displayed in the Language combo box when using Windows Some characters not displayed in the Language combo box Nov 5, 2023
Copy link

github-actions bot commented Feb 5, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging a pull request may close this issue.

4 participants