Hi Andrea Seems like the issue is to do with character set support rather than the BreakIterator.
The non-breaking hyphen is unicode character U+2011 <http://www.fileformat.info/info/unicode/char/2011/index.htm> . I am working on Windows, so using the Windows Character Map, I started looking for this character in the font I am using, ie. Tahoma. This particular character isn't defined in Tahoma (or the majority of fonts), but is defined in "Arial Unicode MS". I copied and pasted the character from Character Map into my view query (shows as a box since the editor font dosn't support it), changed the font in the style sheet and went to view the result only to find that "Arial Unicode MS" isn't included by default in Windows Server 2012 R2. Copied the font from my Windows 7 machine, installed on the server, restarted Tomcat, cleared my browser cache and it works as required. While experimenting with all of this tried using Postgres' escape string to insert a line break -- E'\r\n'. The editor replaced this with a physical line break when I compiled the view. This actually works in forcing a line break in the label. But due to the auto-wrap created a blank line in the middle of the label in a lot of cases. Thank you again for your input. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Non-breaking-hard-hyphen-in-Geoserver-label-tp5235239p5235487.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
