An field name with a non-English character, e.g. an umlaut or something similar, is converted to a web safe field name in a browser. I’m looking for a way to predict the web safe name to generate JavaScript code referring to this item.
As an example a field named “Straße” in my form is converted to a corresponding field in the web browser with the name “gadq74of1ck”.
If I use @URLDecode(“Domino”; …) on the resulting field name it is converted back to the original field name. But if I use @URLEncode(“Domino”; …) the result is just replacing the non-English characters. For the field name above I get “Stra%C3%9Fe”.
I have figured out, that the coding is some kind of base-32. In the sample above “1” is used in the web safe form, so it could be a base32hex form. But if I try base32hex to convert it, the results won’t match. There seams to be some kind of checksum in the resulting web safe name. But I can’t figure out, how it works.
Can anybody help me to solve this mystery?
Thanks!
Bernd Hort