One of my applications includes a procedure for the user which is a multi line text. I have tried to paste the multi line text into a single entry in the Application Language module. However, the generation of the application code does not work – probably because the procedure text includes double quotes and line breaks are lost in any case. Thus I thought that I would just specify the text in the “onLoadAll” event, using PHP’s heredoc (<<<) with text being assigned based on the language chosen by using the sc_get_language macro. This kind of works, but with a little kink that I can’t get rid of:
Characters above ASCII 127 are not displayed correctly. They look like some ANSI Windows – utf8 conversion problem, i.e. a file in one of these format opened as the other.
I have tried to use the PHP function utf8_encode and utf8_decode on the text field, unfortunately to avail.
Anyone has experienced similar, and perhaps found a way to deal with it?