--- In [email protected], "forxtra" <forx...@...> wrote:
>
> --- In [email protected], "Sheri" <sherip99@> wrote:
> >
> > --- In [email protected], "forxtra" <forxtra@> wrote:
> > >
> > > 2. dblcs=1 ;;removes last char of string if win.isdbcsleadbyte 
> for 
> > > last char == 1
> > > truncatedbcs(string) function at 785 line returns only 
> alphanumeric.
> > > 
> > > Reuslt:
> > > http://img5.imageshack.us/img5/8962/testresultyw9.png
> > >
> > 
> > LOL! Truncatedbcs(string) doesn't leave much does it. Wonder where 
> I
> > went wrong there?!
> 
> 
> AFAIK, 
> IsDBCSLeadByte() returns a nonzero value if the test character is 
> greater than 127.
> 
> There are no set rules about what value the second byte of the 
> double-byte character can be, except that it can't be 0.
> 
> The second byte as wll as the first byte might return 1. (as shown 
> in picture above.)
> 
> ---------------------------
> http://msdn.microsoft.com/en-us/library/dd317794(VS.85).aspx
> 
> To interpret a DBCS string, an application must start at the 
> beginning of the string and scan forward. It keeps track when it 
> encounters a lead byte in the string, and treats the next byte as 
> the trailing part of the same character.
> ---------------------------
>

Thanks forxtra,

I posted another test version:
<http://tech.groups.yahoo.com/group/power-pro/files/0_TEMP_/NoteMenuUpdates/NoteMenu_204.zip>

This one uses utf8/regex for processing double byte code page (if
unicode plugin >= version 0067 is available) and your DBSC_StringLeft
function (if unicode plugin version is not available).

In addition to checking tooltips and labels, also make sure you can
open notes from the note menu, and that once open, you can access them
from the menu's submenu for currently open notes. If it works, also
try notes with maximum long name/captions.

Regards,
Sheri

Reply via email to