JAVA add-in does not create files with escaped unicode characters

Former Member
Former Member

Hello all,

although I have set my JAVA add-in settings (PASSOLO 2016) to use escaped characters (see screenshot), PASSOLO creates UTF-8 files with BOM and no escaped characters.

What do I have to do to get target files in the desired format (UTF-8 without BOM, all characters above 0x7f escaped)?

Thank you for your help,

best,

Andreas

Parents
  • The Java add-in settings are global settings that are applied every time when you add a new file to the project. Then the settings become file specific settings and I think this is where the problem is. You need to select the source files in the project view that use the context menu to go to the String List Setting and click on Options. Now you can change the file target file encoding and the option to produce escape sequences. This should solve the problem.
  • Former Member
    0 Former Member in reply to Achim Herrmann

    Hello Achim, thank you for your reply!

    Indeed I could open the dialog for the JAVAa add-in settings on more than one way. Now I followed you advice and selected all source strings and opened the dialog where I found the settings as I want them to be:

    I confirmed and even clicked on "Als Standard festlegen". But still the newly generated target files do not correspond to those settings.
    I must admit, that I changed settings after the initial creation of the project. Maybe I was not allowed to do that?

    Best,

    Andreas

Reply
  • Former Member
    0 Former Member in reply to Achim Herrmann

    Hello Achim, thank you for your reply!

    Indeed I could open the dialog for the JAVAa add-in settings on more than one way. Now I followed you advice and selected all source strings and opened the dialog where I found the settings as I want them to be:

    I confirmed and even clicked on "Als Standard festlegen". But still the newly generated target files do not correspond to those settings.
    I must admit, that I changed settings after the initial creation of the project. Maybe I was not allowed to do that?

    Best,

    Andreas

Children