Querying player name with Latin characters in php


I’ve been tying to query the Profile API
in PHP and having troubles with the following name;

us.api.blizzard. com/profile/wow/character/bleeding-hollow/Ørígínâl?namespace=profile-us&locale=en_US&access_token=

How would you go about querying that name? Any attempts I make result in a 404.


I’ll work on the PHP library later today, I’ll let you know if I find anything useful.


I think I found the problem, strtolower does not affect the capital Ø, for that you need to use mb_strtolower when creating the slug.


Thanks! Using that in combination with rawurlencode gives the desired results :+1: