This project has moved and is read-only. For the latest updates, please go here.

Validation: business rule message text encoding issue

Feb 1, 2015 at 5:11 PM
I am currently creating message texts for my business rules on cslagenfork, and i realised that when the code is generated the messages turn out to be like that "???????????????????". The message text is written in greek (cp1253).
Feb 1, 2015 at 6:02 PM
Edited Jun 23, 2015 at 9:28 PM
Hi pandelaras,

I guess your problem is encoding related.

Starting on version 4.5.040585 (final) CslaGenFork has a very simple way to change code encoding and stored procedures encoding. Go to VIEW => GLOBAL SETTINGS PAGE to make the Global Settings panel visible. and set the encoding.

You may need to re-generate the extended files but MAKE A BACKUP before regenerating as CslaGenFork WILL NOT BACKUP the extended files. If you have modified the extended files, you will need to use a file comparer (I use WinMerge) in order to copy those modifications to your re-generated files.

NOTE - Global Settings apply to ALL PROJECTS. So you must take great care with the setting OVERWRITE EXTENDED FILE as it will apply to all projects.
Feb 1, 2015 at 6:25 PM
Thank you Tiago