VirtualBox

Changeset 21791 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jul 25, 2009 5:10:57 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50393
Message:

RTStrPutCpInternal: Fixed an irrelevant bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/utf-8.cpp

    r21744 r21791  
    11181118    else if (uc < 0x04000000)
    11191119    {
    1120         *puch++ = 0xf1 | (uc >> 24);
     1120        *puch++ = 0xf8 | (uc >> 24);
    11211121        *puch++ = 0x80 | ((uc >> 18) & 0x3f);
    11221122        *puch++ = 0x80 | ((uc >> 12) & 0x3f);
     
    11261126    else if (uc <= 0x7fffffff)
    11271127    {
    1128         *puch++ = 0xf3 | (uc >> 30);
     1128        *puch++ = 0xfc | (uc >> 30);
    11291129        *puch++ = 0x80 | ((uc >> 24) & 0x3f);
    11301130        *puch++ = 0x80 | ((uc >> 18) & 0x3f);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette