Page 1 of 1

Options - why hex values for paths?

Posted: Thu Nov 24, 2005 11:22 am
by MudGuard
Hello,

I just had a look at the Options.txt which is generated when the options are exported.

Why are path values given as Hex instead of normal text?

Posted: Thu Nov 24, 2005 11:46 am
by psguru
To support paths containing Unicode characters.

Posted: Thu Nov 24, 2005 12:47 pm
by MudGuard
Hm.

Ok. But why is it not done consequently?

If Unicode characters are allowed in paths, they should be allowed in Extensions as well (e.g. Extensions/Descriptions/Regexs for "Ignore Comments") ...


(I don't need it, just wondering - I restrict myself to a-zA-Z0-9-_. for filenames [if there is a space in the name, the name is not from me, e.g. "Program Files"] as all other characters will give problems sooner or later...)

Posted: Thu Nov 24, 2005 1:51 pm
by psguru
Well, it's unlikely that a language would use Unicode characters in its syntax. Same goes for language file extensions.