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

The plugin doesn't support Russian letters #17

Open
impuLseUZ opened this issue Mar 26, 2017 · 3 comments
Open

The plugin doesn't support Russian letters #17

impuLseUZ opened this issue Mar 26, 2017 · 3 comments

Comments

@impuLseUZ
Copy link

The plugin doesn't support Russian letters , please fix it.
For example:
TSC_SendClientMessage(TSC_GetClientIdByUid("K+fJTkRtARxyUJczCELIxGBvI9Q="), "привет");
Log:
ID: 1538 Text: error while executing "sendtextmessage targetmode=1 target=1 msg=привет": invalid parameter

@Southclaws
Copy link

Discord is native Unicode so this should be handled in the plugin (SA:MP is ANSI unfortunately so conversion will be needed).

@impuLseUZ
Copy link
Author

can you show an example ?

@Southclaws
Copy link

Not sure what you want an example of, I'm not a contributor to this repo, just chiming in with some info!

Most modern apps are/should be Unicode these days, which handles every modern written language. Unfortunately, SA:MP is old and uses simple 8-bit ANSI which are looked up on your client using a Russian codepage. Conversion would be trivial though so it won't be a huge problem however I think the server would need the Windows codepages to perform the mapping from Russian Unicode characters to ANSI codepoints on a Russian codepage.

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

No branches or pull requests

2 participants