[rt-users] maintainably tagging custom fields for CSS

Espen Wiborg espenhw at ovitas.no
Tue Aug 14 04:01:08 EDT 2007

(Once more, to the list this time.)

Jesse Vincent <jesse at bestpractical.com> writes:
> On Mon, Aug 13, 2007 at 05:36:50PM +0100, Nicholas Clark wrote:
>> Is there a good way to reliably map text outside the range of legal
>> identifiers into that range, without having too many collisions?
>> (I realise that this might sound like "solve the halting problem" or "integer
>> knapsack" but I think we need "good" rather than "perfect")
> See if URL-encoding meets the spec?

You'd have to strip out the percent signs; they're not allowed in XML
IDs.  Other than that, URL-encoding sounds like the best bet.

Espen Wiborg <espenhw at ovitas.no>
By all means marry: If you get a good wife, you'll become happy; if
you get a bad one, you'll become a philosopher.  - Socrates

More information about the rt-users mailing list