[Freeciv-Dev] Re: new natural names patch (PR#1127)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
At 01:33 PM 01/12/23 -0800, jdorje@xxxxxxxxxxxxxxxxxxxxx wrote:
>Erik Sigra wrote:
>> ----- Original Message -----
>> From: "Petr Baudis" <pasky@xxxxxxxxxxx>
>>>>He couldn't find a character on his keyboard and I tried to help him. I
don't
>>>>see anything unreasonable about that.
>>>>
>>>>If you have problem seeing the sign, use this test page:
>>>>http://www.gpfn.sk.ca/~rhg/testing/latin1test.html
>>>>
>>> * "NOT", /* Negation sign */ "NOT", /* 172 */
>>>*g*
>>>
>>>Well, I just want to say that we can't use this in rulesets anyway
>>
>> I'm pretty sure we can use it.
>
>I'm fine with including this as a fourth alternative for negation. But
>I'm not sure if this is reasonable/possible either. I do not have this
>character on my keyboard, although it does appear fine in your e-mails.
> Will it appear correctly to all editors?
>
>jason
In the sense that rulesets are like code, it is probably not a good idea
to use locale dependent features for anything but (uninterpreted) text
data.
Certainly the Latin1 "172" would be an incredibly bad choice as the
primary negation symbol given that there are reasonable choices in the
Posix subset.
Making it optionally recognized if an appropriate locale were in effect
and exit with an appropriate error message if not would be possible
extensions. "Assuming" char(172) was a valid negation without checking
locale would just be bad programming.
Cheers,
RossW
=====
|
|