JabRef / jabref

Graphical Java application for managing BibTeX and biblatex (.bib) databases
https://devdocs.jabref.org
MIT License
3.62k stars 2.57k forks source link

When citing Chinese references, the BIBTEX source code content displays garbled characters in Chinese characters #11508

Open xiaojinhongnwafu opened 3 months ago

xiaojinhongnwafu commented 3 months ago

JabRef version

5.15 (latest release)

Operating system

Windows

Details on version and operating system

No response

Checked with the latest development build (copy version output from About dialog)

Steps to reproduce the behaviour

  1. ...When citing Chinese references, the BIBTEX source code content displays garbled characters in Chinese characters
  2. but when you copy these code and paste new txt etc software, the display is normal
  3. ...@Article{王小铭2019, author = {王小铭 and 陈江亮 and 谷萌 and 焦秀瑶 and 蔡洪英 and 张莹 and 周怡然 and 魏云梅 and others}, journal = {环境卫生工程}, title = {“无废城市” 建设背景下我国餐厨垃圾管理现状, 问题与建议}, year = {2019}, } image

Appendix

...

Log File ``` Paste an excerpt of your log file here ```
subhramit commented 3 months ago

Hello, thanks for posting the issue. If I understand correctly, what you pasted in step 3 is what is expected, and what is there in the screenshot is what you're getting in JabRef, correct? Also, could you refine "cite" a bit more? Do you just mean copy paste or are you using JabRef's in-built tools to push citations into documents, and there you're getting garbled characters as well?

xiaojinhongnwafu commented 3 months ago

Yeah!Thank you very much !

THERE IS NO GARBLED CHARACTERS IN THE TEXSTUDIO SYSTEM, BUT THE RELEVANT ENTRIES IN JABREF, AS LONG AS THEY ARE DISPLAYED IN Chinese, ARE GARBLED CHARACTERS.

ThiloteE commented 3 months ago

You also say you "copy" the text. Where do you copy the code into?

Siedlerchr commented 3 months ago

@xiaojinhongnwafu On my Mac system, it looks like this, exactly as pasted:

grafik grafik

Does it only affect the source editor or the normal fields (authro etc as well?

But I found this article on Windows: https://meritcards.app/2022/08/12/incorrect-fallback-font/

koppor commented 3 months ago

This refs https://discourse.jabref.org/t/jabref-not-displaying-japanese-characters/2544/3, doesn't it?

subhramit commented 3 months ago

(Question) could this also be related?: https://github.com/JabRef/jabref/pull/11077#issue-2202470623 (ignore the springer search part) This was also windows-specific

xiaojinhongnwafu commented 3 months ago

The Chinese characters display normal in Jabref menu and Jabref GUI, only display Garbled codes in Chinese entry details. Why? No losing fonts,because my windows 11 has these fonts.

xiaojinhongnwafu commented 3 months ago

Thank you very much. I copy the code into TXT editor or word etc. and the Chinese codes display normal. @ThiloteE

Siedlerchr commented 3 months ago

for the bibtex code we use https://github.com/FXMisc/RichTextFX so maybe there is something wrong with the font support

xiaojinhongnwafu commented 3 months ago

Dear developer!Can you fix the software bug about the bibtex code displays garbled characters in Chinese characters? I can't fix it myself!

xiaojinhongnwafu commented 2 months ago

@Siedlerchr @koppor @ThiloteE Hi,do you have solve the issues? Thanks.

xiaojinhongnwafu commented 2 months ago

@Siedlerchr @koppor @ThiloteE Hi,do you have solve the issues? Thanks.

koppor commented 2 weeks ago

We currently have no money to pay someone for that (donations page). No one of the JabRef team gets paid for JabRef. Thus, working on this really depends on the availability of our personal free time. - We really welcome feedback on our volunteer work. In case you are able to spend some more time, we would really like to encourage you to check https://contribute.jabref.org/ - especially the part asking for improvement of our help pages. This would help JabRef getting better as a whole. 🥇