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

Encoding #594

Open
d56Wr opened this issue Jan 11, 2021 · 2 comments
Open

Encoding #594

d56Wr opened this issue Jan 11, 2021 · 2 comments

Comments

@d56Wr
Copy link

d56Wr commented Jan 11, 2021

Hi,

most of texts are saved in UTF8 now. For example tags, system messages, scripts, tooltips etc.

Problem is that names (items, players, characters) are saved in CP1252. Would it be possible to change this to UTF 8 as well? Or make some sort of function that would convert encoding between CP1252 and UTF8 and vice versa?

For example:
.set name Příliš žluťoučký kůň

Name is not displayed correctly in paperdoll, status, journal. However tooltip is fine.
When you want to insert this to UTF8 database, it's clearly in CP1252 encoding.

I know most of you don't use these special characters, but we have made several issues about this (unicode support for console, promptconsoleu...).

@cbnolok
Copy link
Contributor

cbnolok commented Jan 12, 2021

We are aware of the issues and it's definitely something to work on. It won't be simple though, because a lot of changes are needed to handle correctly UTF-8 everywhere (also, it's already supposed be handled correctly in multiple places in sphere code, but it seems it's not perfect everywhere).
This issue will be addressed, but be aware it will require time and there are more urgent things to work on

@cbnolok
Copy link
Contributor

cbnolok commented Oct 25, 2023

Might be related to #529, #363. Planned for X2 milestone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants