TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to use bibtex to output the url from a reference, but it's not working because the url has accentuation, just like below:

url = {http://www.epe.gov.br/mercado/Documents/Série\%20Estudos\%20de\%20Energia/20130117_1.pdf},

The output is:

http://www.epe.gov.br/mercado/Documents/S\unhbox\voidb@x\ bgroup\let\unhbox\voidb@x\setbox\@tempboxa\hbox{e\global\ mathchardef\accent@spacefactor\spacefactor}\accent19e\ egroup\spacefactor\accent@spacefactorrie%20Estudos%20de% 20Energia/20130117_1.pdf

Is there a way to protect the accentuation when it enters on url environment?

share|improve this question

migrated from stackoverflow.com Feb 8 '13 at 12:12

This question came from our site for professional and enthusiast programmers.

Thanks, didn't know about this other site. Where can I find this percentage substitutions for accentuations and special characters? – Werner Feb 8 '13 at 15:55
Could you please change you user name to a unique one? We already have another Werner here... – Martin Schröder Feb 16 '13 at 20:44
up vote 5 down vote accepted

An URL should not contain accented characters (cf. Uniform resource locator or RFC 3986).

In your URL, replace accented characters by encoded characters:


Edit: Fast reference for encoded characters.

share|improve this answer

If I use \usepackage[]{hyperref} before \begin{document} and use in my bibliography e.g. url = {http://www.de.wikipedia.org/wiki/Beyoncé_Knowles}, then everything runs without problems. But it is difficult to say if the hyperref-package helps in your case because you do not tell us which packages you are using.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.