open All Channels
seplocked EVE Technology Lab
blankseplocked Underscores in API queries?
This thread is older than 90 days and has been locked due to inactivity.

Author Topic

Kronus Heilgar
Dark Orbit Media
Posted - 2011.07.15 05:53:00 - [1]

Anyone know why if you query names that contain an underscore in them, the "/eve/CharacterID.xml.aspx" API freaks out?

e.g. the character with ID 1121004924 (GRIM_KILLER). If you query the CharacterInfo API, he shows up (, but if you put his name in the CharacterID API it gives an error (


Lutz Major
Posted - 2011.07.15 07:25:00 - [2]

Edited by: Lutz Major on 15/07/2011 07:27:24
Edited by: Lutz Major on 15/07/2011 07:26:17
Try proper UTF-8 encoding Very Happy

Use '& #095;' for the underscore. Without the ' and the space between & and #

Desmont McCallock
Posted - 2011.07.15 08:54:00 - [3]

I don't know if you are trying to query via any program language but you should find which is the method, procedure, function of your program language that encodes the HTTP request as URL (URLEncode).

Burning Napalm
Northern Coalition.
Posted - 2011.07.15 09:08:00 - [4]

to quote the encoding RFC

Thus, only alphanumerics, the special characters "$-_.+!*'(),", and reserved characters used for their reserved purposes may be used unencoded within a URL.

What this means in this case: underscores are not to be escaped in HTTP requests, the fault is on CCPs end for doing sth with the underscore to mess up the names list.

Posted - 2011.07.15 21:36:00 - [5]

Quarantan is right, it's a bug in the API service. Did someone create a bug report?

Kronus Heilgar
Dark Orbit Media
Posted - 2011.07.16 20:42:00 - [6]

I did my research before posting, and read about escaping underscores. Came up with the same thing, basically saying that they are to be left as is.

I checked in-game and names with underscores actually aren't allowed. My assumption is that years ago it was allowed, or a glitch allowed it temporarily, but it was fixed and so CCP never thought they'd need to deal with it. I submitted a petition about it, havn't done a bug report though.


This thread is older than 90 days and has been locked due to inactivity.


The new forums are live

Please adjust your bookmarks to

These forums are archived and read-only