Page 1 of 1

Problem with Cyrillic strings

PostPosted: Tue 27 Mar 2012 11:59
by dolas
I use BOUML release 4.23 'ultimate' for work with PHP code.

First time, when I set init value for 'string' attributes as a cyrillic string in 'Attribute dialog', it looks good.
good.png
It looks good first time
good.png (11.61 KiB) Viewed 8027 times

But when I open this dialog next time, there are not cyrillic string in this field. In generated PHP this value is not right cyrillic string too.
bad.png
It looks as not a cyrillic string next time
bad.png (11.37 KiB) Viewed 8027 times

'Character set' = 'CP_1251' in 'Environment dialog' .

Is it a bug or my mistake? And what can I do to fix it?
Thanks!

Re: Problem with Cyrillic strings

PostPosted: Tue 27 Mar 2012 12:37
by Bruno Pagès
Hi,

Referring to the documentation the initial value isn't part of the areas where you are able to use non latin-1 characters, so the implementation is consistent with the requirements/documentation.

But to be frank there is no true reason to not allow foreign language at this place ... except the fact I forgot this case :oops:

Re: Problem with Cyrillic strings

PostPosted: Tue 27 Mar 2012 12:53
by dolas
Thank you!
But may be exists any trick to solve this problem by user without edition of source code?

Re: Problem with Cyrillic strings

PostPosted: Tue 27 Mar 2012 13:20
by Bruno Pagès
this problem can't be solved without modifying the source code and you can't do that because I never distributed the sources of the 4.23, so the best/alone solution for you will be to buy the future 5.1 8-)

Re: Problem with Cyrillic strings

PostPosted: Thu 26 Apr 2012 16:35
by Bruno Pagès
Hi,

Bouml 5.1 is available and fix this problem

Best regards

Bruno Pagès