#34613
--- In [email protected], "Sheri" <sheri...@...> wrote:
> > We could also use Unicode.Select().
> 
> Really? Would you mind posting what this looks like with 
Unicode.Slice
> instead of slice? Everything valid?
> 
> http://img7.imageshack.us/img7/2435/multibyteiv0.png

The default codepage on my pc is 949 (Korean).
I've so far used Unicode.Slice() for truncating multi-byte strings 
correctly.
It seems to work fine for me.

Result:
http://img14.imageshack.us/img14/9692/multibyte2mn2.png



#34619
--- In [email protected], "Sheri" <sheri...@...> wrote:
>
> Could you could try my lastest test version of the notemenu posted 
here?
> <http://tech.groups.yahoo.com/group/power-
pro/files/0_TEMP_/NoteMenuUpdates/NoteMenu_203.zip>
> 
> See the top of the script notemenu.powerpro for info on testing my
> double byte code page processing.
> 
> Regards,
> Sheri
>

It is work fine for me with auto-detect and dblcs=2 mode.

but, 
1. dblcs=0 ;;normal single byte code page
After notemenu displayed, an error message pops up when trying to 
display tooltip.
Although it is not important in many SBCS environment, my PC does 
not seem to recognize letter "¦" properly in regex pattern.

http://img5.imageshack.us/img5/3620/badexpressionxv6.png

After replacing pattern with ?"/", if try test, it seems to work 
fine .


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


Reply via email to