2011/9/18 Richard Wordingham <richard.wording...@ntlworld.com>: >> Furthermore, for the example in UAX #9 section 5.6, using RLM and LRM >> around the '-' causes reordering of the adjacent spaces, while using >> LDM before each '-' solves the layout problem. > > Of course, the problem of spaces is cured if one uses <RLM, SP, > HYPHEN-MINUS, SP, LRM> as the bounding delimiter.
And no problem at all of ordering if the field separator is <PDF,HYPHEN-MINUS,RLE> or <PDF,SLASH,RLE> or <PDF,FULL STOP,RLE> or <PDF,COLON,RLE>, and the leader is RLE and the trailer is PDF. (Subtitute RLE by LRE everywhere as you want: this is equivalent if the numeric fields are using European or Arabic digits, this may only change if a field is an abbreviation starting by a whitespace or variable character, or if it mixes LTR letters and Arabic digits). This does not only concerns date values, this may apply to time, phone numbers, numeric identifiers that use separators such as social security numbers, indexes of TOC entries, various subclassification schemes used in book libraries or even technical protocols (including DNS or LDAP names)...