Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Internationalization: Are IP Addresses entered in the same format for all cultures?

I know that IPv4 addresses are written using the dot-decimal notation. What I don't know is if each of the numeric characters entered for an IP Address is always an Arabic numeral (such as 1,2,3...) or if a non-ASCII numeral character is generally accepted for IP Address input?

For instance, if I had a IPv4 address input field localized for a Chinese culture, would it be reasonable for me to only expect Arabic numerals to be entered for each octet? Should I also expect non-ASCII characters that are also numeric?

  • This field would be purely for IP Address entry and would not accept host names.
like image 876
JasonC Avatar asked Jun 14 '13 18:06

JasonC


1 Answers

Unicode and ASCII characters are the same for numerics. So yes, IP address should be the same format for all cultures.

The dotted-octet format is an international standard, this should not deviate based on culture.

like image 160
EkoostikMartin Avatar answered Oct 25 '22 10:10

EkoostikMartin