[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gEDA file format - couple of questions on attributes.



Peter Brett wrote:

> However, I strongly recommend that you only use attribute names that
> match:
> 
>   ^[a-z][a-z0-9_-\.]*$

Ouch. 
Every string in the user interface should potentially be subject to 
localization. Every input field should accept local characters.
Since attributes can be introduced by th user, the add attribute 
function is effectively an input field.

Confinement to ascii chars prevents proper spelling of non-english
words. What is the rationale to this restriction? IIRC, the glibc 
string operations are TTF8 aware. Rather than restrict the input to 
a smallish subset, the code should deal gracefully with as much of 
UTF8 as possible.

---<)kaimartin(>---
-- 
Kai-Martin Knaak
Email: kmk@xxxxxxxxxxxxxxx
Ãffentlicher PGP-SchlÃssel:
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user