snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Label Problem

Open homernj025 opened this issue 2 years ago • 7 comments

Debug mode

Describe the bug

I have set the default language to Chinese, then I try to set the DefaultLabel and the preview show Chinese garbled code. code

Reproduction steps

  1. set the default language to Chinese 2.set the DefaultLabel

...

Expected behavior

Chinese garbled code.

Screenshots

No response

Snipe-IT Version

v6.2.4-pre build 12090 (g776b16d37)

Operating System

CentOS7

Web Server

2.4.6

PHP Version

7.4.33

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

homernj025 avatar Jan 03 '24 10:01 homernj025

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

welcome[bot] avatar Jan 03 '24 10:01 welcome[bot]

i have the same problem as you

joeYangK avatar Jan 09 '24 15:01 joeYangK

Try change language for non-unicode to Chinese in Windows Region setting. tempsnip

conan522 avatar Jan 18 '24 06:01 conan522

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

joeYangK avatar Jan 18 '24 06:01 joeYangK

Hi conan522, I have changed the language for non-unicode to Chinese, but the problem still exists. any other adv ?

homernj025 avatar Jan 22 '24 03:01 homernj025

Hi Guys,I have resovled this problem, If you use the default label, you only need to modify the file /var/www/snipe-it/app/Models/Labels/DefaultLabel.php, then use stsongstdlight font intead the default font freesans. we can close this tickets now. thanks all for your help.

homernj025 avatar Jan 26 '24 08:01 homernj025

Hi Guys,I have resovled this problem, If you use the default label, you only need to modify the file /var/www/snipe-it/app/Models/Labels/DefaultLabel.php, then use stsongstdlight font intead the default font freesans. we can close this tickets now. thanks all for your help.

Hello, can talk it more specific?

joeYangK avatar Feb 27 '24 03:02 joeYangK