Revision history [back]

click to hide/show revision 1
initial version

answered 2020-11-23 10:05:51 +0800

cor3000 gravatar image cor3000

ZK Team

You're not missing anything. ZK's '.properties'-files are UTF-8 by default so that every possible character can be added directly. As you noticed escape characters are not implemented by the code.

Instead you have to enter the non breaking space literally where (make sure you edit/save the file a UTF-8).

Here an example of what is looks like in intellij (results may vary between IDEs). image description

E.g. On linux I had to type the non breaking space in a separate text editor CTRL+SHIFT+U then type 00A0) because the shortcut was already occupied by the IDE. In any case once the NBSP is in the text the intellij highlights is accordingly and ZK will output it unchanged.

image description

You're not missing anything. ZK's '.properties'-files are UTF-8 by default so that every possible character can be added directly. As you noticed escape characters are not implemented by the code.

Instead you have to enter the non breaking space literally where (make sure you edit/save the file a UTF-8).

Here an example of what is looks like in intellij (results may vary between IDEs). image description

E.g. On linux I had to type the non breaking space in a separate text editor CTRL+SHIFT+U then type 00A0) because the shortcut was already occupied by the IDE. In any case once the NBSP is in the text the intellij highlights is accordingly and ZK will output it unchanged.

image description

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More