Jump to content
Muxe Inc Forums
Sign in to follow this  
dandv

Clipboard problems on non-US locales with US code

Recommended Posts

dandv    0

1. On Windows 2000 Professional US English, Service Pack 4, go to Control Panel -> Regional Options and pick Japanese in both the "Your locale" drop-down list and the one which appears if you click the "Set default" button. Reboot

2. After rebooting, launch a cmd.exe window and from its system menu (Alt+Space), choose Defaults. In the Default code page drop-down, select the 437 - US code page.

3. Launch NDN.EXE *without any shortcut (.pif file)*. Just type the path to NDN.EXE in Start -> Run. To check you launched it this way, from the Alt+Space menu of the NDN window, go to Properties and make sure you have the 437 code page in the "Current code page" box

 

Those steps are important. On the US English locale I could not reproduce the bug.

OK, now to the bug itself:

 

1. Create a 2-byte file containing two $9A bytes.

2. Edit the file and copy the entire text (I did F4, Home, Shift+End, Ctrl+Insert)

3. Paste the clipboard somewhere, such as in the SmartPad (Alt+Q, Shift+Insert)

4. Notice the extra $13 character that you get.

 

5. Try to copy to the clipboard just one of the $9A characters. Notice that when you paste, nothing happens.

 

Can anyone reproduce?

Haman? :-)

Share this post


Link to post
Share on other sites
dandv    0
Can anyone reproduce?

Haman? :-)

No-way! this is insane.

 

/haman

Are you a bugfinder or not?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×