[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.technology.ercp] Re: ConstrainedText questions
|
I think the allowed characters are very much platform/device specific
since the allowed characters may differ on different locales
I think it is best to rely on the devices which are presumably optimized for
a specific locale would provide the best character set.
Displaying a phone number in Hyperlink is very much locale specific as well.
For example, even the data at hand do not have it, platform can put brackets
around the area code for some locales while presenting it.
Of course if the underlying platform does not provide such native support
then it may become a tedious job to trying to accomodate all
different locales but then this is still an implementation specific effort
and should not affect other implementations.
--
Gorkem
"Mark Rogalski" <rogalski@xxxxxxxxxx> wrote in message
news:e5msdu$b1c$1@xxxxxxxxxxxxxxxxxxxx
> It seems the ConstrainedText PhoneNumber style does not allow a few "white
> space" characters which are typically used for North American phone
> numbers. These are "(", ")", and "-". They have no meaning for dialers but
> are almost always used to make reading a number easier. The Hyperlink
> widget does display these characters. I think for consistency and
> usability we should add these as valid characters for ConstrainedText
> PhoneNumber style.
>
> Also, less of an issue but still something that we should consider, is
> that a user may wish to use "white space" numeric separators like "," in
> the ConstrinedText Numeric and Decimal styles. For instance, "123,456.78".
> What do you think about this?
>