Open impuLseUZ opened 7 years ago
Discord is native Unicode so this should be handled in the plugin (SA:MP is ANSI unfortunately so conversion will be needed).
can you show an example ?
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.
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