Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6598131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:18:01+00:00 2026-05-25T18:18:01+00:00

Our app has a bug in the non-unicode version; if we copy some Russian

  • 0

Our app has a bug in the non-unicode version; if we copy some Russian characters to the clipboard(using SetClipboardData(CF_TEXT)), and then paste them into notepad, they don’t get pasted as the Russian characters but as the code page 1252 equivalents (e.g. Э becomes Ý).

In trying to figure it out I made a little test app for pasting and it worked fine if I used GetClipboardData(CF_TEXT). if i use GetClipboardData(CF_UNICODETEXT) however, it has exactly the same issue as notepad.

So I assume that notepad is just using CF_UNICODETEXT on the paste. According to the MS documentation I’ve read, the clipboard is supposed to be able to convert CF_TEXT to CF_UNICODE text. In fact on the page:

http://msdn.microsoft.com/en-us/library/ms649013.aspx#_win32_Synthesized_Clipboard_Formats

it says “there is no advantage to placing the conversion format(s) on the clipboard.”

If that is true then i must (I hope) be making a simple mistake that is easily corrected.

Can anyone help me out with a solution for this problem?
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:18:02+00:00Added an answer on May 25, 2026 at 6:18 pm

    You’re probably missing the CF_LOCALE for Russian? CF_TEXT is interpreted using the system locale, unless specified otherwise. If your system locale charset is CP1252, but your app locale is CP1251, windows will mis-guess when it converts your 8 bits text to Unicode.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our app (already deployed) is using an Access/Jet database. The upcoming version of our
Our company has a fairly large ASP.NET web application. The app is already broken
We're experiencing a really bizarre bug in our Rails 2.3.4 app. This bug only
We just dicovered a bug in our app that returns this error. When going
Currently we use log4net of version 1.2.10.0 and we should start using some 3rd
Adding the foursquare check-in ability to an existing app has raised some questions. Mainly,
Our app has addresses like 123 Main St, Perth, Wa, 6554, Australia We need
Our app has a requirement to support multi-tenancy. Each of the boarded customer might
Because we have discovered and fixed a bug in our app after we uploaded
Part of our web app has a little Ajax method that will load a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.