[tex-live] Lua module 'socket.url' loading problem with getmap
Akira Kakuto
kakuto at fuk.kindai.ac.jp
Wed Jul 11 12:04:02 CEST 2018
Dear Josef,
> Dear Akira, weirdness lives on! ;-)
My experimental consequence:
(1) In the case of pdflatex:
If the encoding is UTF-8, command like
\usepackage[utf8]{inputenc}
is not necessary.
In the other cases, command like
\usepackage[cp1252]{inputenc}
is necessary. Otherwise, URLs are broken and
correct maps are not obtained for non-ascii names.
(2) In the case of xelatex and lualatex, use 'UTF-8' encoding only!!.
lualatex result for UTF-8 encoding case:
url =
http://maps.googleapis.com/maps/api/staticmap?center=Bergheimer%20Stra%c3%9fe%20110A%2c%2069115%20Heidelberg%2c%20Germany&size=600x400&zoom=17&markers=size:mid|color:blue|label:1|Bergheimer%20Stra%c3%9fe%20110A%2c%2069115%20Heidelberg%2c%20Germany&maptype=roadmap&scale=1&format=png&language=en&sensor=false
url length = 307 bytes
Best,
Akira
More information about the tex-live
mailing list