编码折线分隔符
Encoded Polylines Separator
我需要以 GET 参数的形式发送编码多边形的列表。我怎样才能把它们分开?我可以使用哪个角色来避免问题?
我需要这样的东西
myPage?poly=encoding1;encoding2&other=stuff
字符集使用的折线编码器?
根据the documentation(强调我的):
The encoding process converts a binary value into a series of character codes for ASCII characters using the familiar base64 encoding scheme: to ensure proper display of these characters, encoded values are summed with 63 (the ASCII character '?') before converting them into ASCII.
因此,您可以使用任何 ASCII character below ASCII 63 (?) 来分隔折线。
我需要以 GET 参数的形式发送编码多边形的列表。我怎样才能把它们分开?我可以使用哪个角色来避免问题? 我需要这样的东西
myPage?poly=encoding1;encoding2&other=stuff
字符集使用的折线编码器?
根据the documentation(强调我的):
The encoding process converts a binary value into a series of character codes for ASCII characters using the familiar base64 encoding scheme: to ensure proper display of these characters, encoded values are summed with 63 (the ASCII character '?') before converting them into ASCII.
因此,您可以使用任何 ASCII character below ASCII 63 (?) 来分隔折线。