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

Uppercase / Lowercase in editor

Recommended Posts

Adam_L    0

Hi!

 

NDN Editor.

I set in NDN.INI option "UpCaseTbl" to chars code from 128 to 255 ( upper == lower)

 

Why in editor funtion after "Uppercase" chars:

160-175 is change to 128-143

224-239 is change to 144-159

 

after "Lowercase" chars:

128-143 is change to 160-175

144-159 is change to 224-239

 

Why ? If I want it, I set it in NDN.INI.

In my opinion it is error NDN.

 

--

Adam Lubszczyk

(sorry my english)

Share this post


Link to post
Share on other sites

Hello Adam!

 

I still have your example files on my HD.

Unfortunately i was not able to find the problem the last time i looked(

I admit it has been a long time since i tried...)

 

Problem is that i never worked with this table/feature, so it is very new to me.

 

I will look at it again now and post my results here in 2-3 hours.

 

Stefan / AH

Share this post


Link to post
Share on other sites

Hi again!

 

I think i have fixed the problem:

 

chars will not convert again after two TOUPPER or TOLOWER operations.

At least this worked for the example files you provided to me:

 

lower: bÆåd ìma gæ× sÆoñce który ªrebak duºy

upper: B£ÅD òMA GÉÿ S£OÑCE KTúRY áREBAK DUíY

 

So, please test the version here:

http://ndn.muxe.com/archives/ndn_upcase.rar

 

@EVERYONE who can test this: please do so, I don't want to break any working code.

@Adam: please tell me if it worked ASAP so i can finish the fix

 

if there are (new) problems, please give me another detailed bug report

 

Stefan / AH

Share this post


Link to post
Share on other sites
Adam_L    0
Hi again!

 

I think i have fixed the problem:

 

chars will not convert again after two TOUPPER or TOLOWER operations.

At least this worked for the example files you provided to me:

 

lower: bÆåd ìma gæ× sÆoñce który ªrebak duºy

upper: B£ÅD òMA GÉÿ S£OÑCE KTúRY áREBAK DUíY

 

So, please test the version here:

http://ndn.muxe.com/archives/ndn_upcase.rar

 

 

@EVERYONE who can test this: please do so, I don't want to break any working code.

@Adam: please tell me if it worked ASAP so i can finish the fix

 

if there are (new) problems, please give me another detailed bug report

 

Stefan / AH

 

Yes, second TOLOWER / TOUPPER must not change text.

 

I download this, but rar file have CRC error (in NDN.EXE) :-)

 

Adam Lubszczyk

Share this post


Link to post
Share on other sites
Adam_L    0
Oh, sorry....

 

I have reuploaded the file!

 

Stefan / AH

 

Download rar - OK.

 

Testing.

TOUPPER work OK.

TOLOWER for defined chars in INI work OK but change another chars,

(first change group chars (shift it left) and next work with defined chars)

 

You may test it.

Make in Your NDN.INI "UpCaseTbl" to next 128 chars (upper=lower).

In editor make line with all 128 to 255 chars.

TOUPPER and TOLOWER must not change this line.

TOUPPER work OK , TOLOWER work not OK.

 

Adam Lubszczyk

Share this post


Link to post
Share on other sites
Adam_L    0
Hi...

 

...i uploaded a new version, please test again :)

 

Stefan / AH

 

HI!

 

Testing...

 

Now TOUPPER / TOLOWER work OK. Use only NDN.INI setting.

 

Very thanks.

 

 

Adam Lubszczyk

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  

×