Russian letters menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Ingohor's Avatar Private
    Reputation
    1
    Join Date
    Jun 2011
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Russian letters

    I want to write in the chat games WORLD of Warcraft Russian characters. Well here's the rub angliskie true test letter writing code and not Russian
    Here is the code
    [DllImport("user32.dll")]
    internal static extern int SendMessage(int hWnd, uint Msg, uint wParam, long lParam);
    const uint WM_CHAR = 0x0102;
    public static void SendText(String Text)
    {

    foreach (char c in Text)
    SendMessage((int)Config.Id, WM_CHAR, (uint)c, 0);

    }

    Russian letters
  2. #2
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You know that using UTF8 will **** things up when you send them byte by byte as characters are probably more than one byte in length, right?
    You might convert them to UTF-16 (wchar_t, mbstows) and use the wide version of SendMessage.
    Hey, it compiles! Ship it!

Similar Threads

  1. How to Make a Character with Cool Letters
    By Cyboi in forum World of Warcraft Guides
    Replies: 62
    Last Post: 08-21-2007, 01:52 PM
  2. Cool Letters
    By ÇђäéĿ in forum World of Warcraft Guides
    Replies: 12
    Last Post: 02-21-2007, 01:36 PM
All times are GMT -5. The time now is 05:37 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search