Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道用于坐标的字符的代码,即经度和纬度?它类似于摄氏度的符号,如“o”
我怀疑有一个带有反斜杠的代码。(\xxxxx)
您正在寻找的是\u00B0学位符号。它可以用于温度和角度位置,就像您的情况一样。
\u00B0
您不应该使用撇号来表示弧分。使用\u2032,素数。如果您使用撇号,结果可能看起来正确,但它也可能对爬虫或屏幕阅读器没有用处。
\u2032
秒也应该使用\u2033, 双素数。不要使用双引号。
\u2033
下图显示了两个符号的比较:
您正在寻找度数符号 U+00B0。
U+00B0
http://www.fileformat.info/info/unicode/char/b0/index.htm
它被称为学位标志。
要获取 Java 中的度数符号,只需按 -
Alt 0176你会得到符号°