It definitely makes sense to return an empty string if you pass it at empty string. I think it's more confusing if you can pass an empty string and get back something else than a empty string.