pdflatex, breakurl and unicode characters The 2019 Stack Overflow Developer Survey Results Are...

Can withdrawing asylum be illegal?

Can we generate random numbers using irrational numbers like π and e?

Is 'stolen' appropriate word?

Word to describe a time interval

Can each chord in a progression create its own key?

Variable with quotation marks "$()"

Are spiders unable to hurt humans, especially very small spiders?

should truth entail possible truth

Circular reasoning in L'Hopital's rule

"... to apply for a visa" or "... and applied for a visa"?

Didn't get enough time to take a Coding Test - what to do now?

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Is this wall load bearing? Blueprints and photos attached

How did passengers keep warm on sail ships?

Does Parliament hold absolute power in the UK?

Can the DM override racial traits?

60's-70's movie: home appliances revolting against the owners

What aspect of planet Earth must be changed to prevent the industrial revolution?

different output for groups and groups USERNAME after adding a username to a group

Huge performance difference of the command find with and without using %M option to show permissions

Example of compact Riemannian manifold with only one geodesic.

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

Can I visit the Trinity College (Cambridge) library and see some of their rare books

Loose spokes after only a few rides



pdflatex, breakurl and unicode characters



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Do we need more moderators?TeXLive/PDFTeX fonts loading problemUnicode emoticons with pdflatexUnicode characters in pdflatex output using hexcode without UTF-8 inputUnicode characters in LaTeX, getting errorsPdflatex is not printing unicode charactersArsclassica (pdflatex-dependent) and unicode symbolsinserting a single unicode character with pdflatexUnicode characters in LaTeX2eUnicode with PdfLaTeX@footnotetext error for special characters












10















I am trying to write an URL using breakurl, that includes an accented character. I am trying to use pdflatex with utf8 inputenc (also tried utf8x). But I can't get a decent result.



My best result is presented by this minimal working example:



documentclass{article}

usepackage[utf8x]{inputenc}
usepackage{hyperref}
usepackage{url}

begin{document}
url{detokenize{http://coração.net}}

end{document}


The link is created correctly, but the text shown in the PDF is not the correct one (misses the non ascii characters).



Suggestions are welcome.










share|improve this question














bumped to the homepage by Community 25 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • detokenize will completely break pdflatex's handling of utf-8.

    – David Carlisle
    Dec 18 '17 at 16:20











  • Sure, but removing it doesn't help too.

    – Alberto
    Dec 18 '17 at 16:26











  • Why do you need that? I don't think url with non-ascii characters are supported anywhere (feel free to correct me about this). Also there is no need to load url if you load hyperref.

    – Skillmon
    Dec 18 '17 at 16:33






  • 7





    href{detokenize{http://coração.net}}{texttt{http://coração.net}}

    – user91669
    Dec 18 '17 at 16:36






  • 3





    @Skillmon unfortunately unicode domains are out there, and they are a big danger for phishing, as there are ways to make similar looking urls pointing to different places. Look here: wordfence.com/blog/2017/04/chrome-firefox-unicode-phishing

    – Alberto
    Dec 18 '17 at 16:41
















10















I am trying to write an URL using breakurl, that includes an accented character. I am trying to use pdflatex with utf8 inputenc (also tried utf8x). But I can't get a decent result.



My best result is presented by this minimal working example:



documentclass{article}

usepackage[utf8x]{inputenc}
usepackage{hyperref}
usepackage{url}

begin{document}
url{detokenize{http://coração.net}}

end{document}


The link is created correctly, but the text shown in the PDF is not the correct one (misses the non ascii characters).



Suggestions are welcome.










share|improve this question














bumped to the homepage by Community 25 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • detokenize will completely break pdflatex's handling of utf-8.

    – David Carlisle
    Dec 18 '17 at 16:20











  • Sure, but removing it doesn't help too.

    – Alberto
    Dec 18 '17 at 16:26











  • Why do you need that? I don't think url with non-ascii characters are supported anywhere (feel free to correct me about this). Also there is no need to load url if you load hyperref.

    – Skillmon
    Dec 18 '17 at 16:33






  • 7





    href{detokenize{http://coração.net}}{texttt{http://coração.net}}

    – user91669
    Dec 18 '17 at 16:36






  • 3





    @Skillmon unfortunately unicode domains are out there, and they are a big danger for phishing, as there are ways to make similar looking urls pointing to different places. Look here: wordfence.com/blog/2017/04/chrome-firefox-unicode-phishing

    – Alberto
    Dec 18 '17 at 16:41














10












10








10








I am trying to write an URL using breakurl, that includes an accented character. I am trying to use pdflatex with utf8 inputenc (also tried utf8x). But I can't get a decent result.



My best result is presented by this minimal working example:



documentclass{article}

usepackage[utf8x]{inputenc}
usepackage{hyperref}
usepackage{url}

begin{document}
url{detokenize{http://coração.net}}

end{document}


The link is created correctly, but the text shown in the PDF is not the correct one (misses the non ascii characters).



Suggestions are welcome.










share|improve this question














I am trying to write an URL using breakurl, that includes an accented character. I am trying to use pdflatex with utf8 inputenc (also tried utf8x). But I can't get a decent result.



My best result is presented by this minimal working example:



documentclass{article}

usepackage[utf8x]{inputenc}
usepackage{hyperref}
usepackage{url}

begin{document}
url{detokenize{http://coração.net}}

end{document}


The link is created correctly, but the text shown in the PDF is not the correct one (misses the non ascii characters).



Suggestions are welcome.







pdftex unicode urls






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 18 '17 at 16:12









AlbertoAlberto

306112




306112





bumped to the homepage by Community 25 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 25 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • detokenize will completely break pdflatex's handling of utf-8.

    – David Carlisle
    Dec 18 '17 at 16:20











  • Sure, but removing it doesn't help too.

    – Alberto
    Dec 18 '17 at 16:26











  • Why do you need that? I don't think url with non-ascii characters are supported anywhere (feel free to correct me about this). Also there is no need to load url if you load hyperref.

    – Skillmon
    Dec 18 '17 at 16:33






  • 7





    href{detokenize{http://coração.net}}{texttt{http://coração.net}}

    – user91669
    Dec 18 '17 at 16:36






  • 3





    @Skillmon unfortunately unicode domains are out there, and they are a big danger for phishing, as there are ways to make similar looking urls pointing to different places. Look here: wordfence.com/blog/2017/04/chrome-firefox-unicode-phishing

    – Alberto
    Dec 18 '17 at 16:41



















  • detokenize will completely break pdflatex's handling of utf-8.

    – David Carlisle
    Dec 18 '17 at 16:20











  • Sure, but removing it doesn't help too.

    – Alberto
    Dec 18 '17 at 16:26











  • Why do you need that? I don't think url with non-ascii characters are supported anywhere (feel free to correct me about this). Also there is no need to load url if you load hyperref.

    – Skillmon
    Dec 18 '17 at 16:33






  • 7





    href{detokenize{http://coração.net}}{texttt{http://coração.net}}

    – user91669
    Dec 18 '17 at 16:36






  • 3





    @Skillmon unfortunately unicode domains are out there, and they are a big danger for phishing, as there are ways to make similar looking urls pointing to different places. Look here: wordfence.com/blog/2017/04/chrome-firefox-unicode-phishing

    – Alberto
    Dec 18 '17 at 16:41

















detokenize will completely break pdflatex's handling of utf-8.

– David Carlisle
Dec 18 '17 at 16:20





detokenize will completely break pdflatex's handling of utf-8.

– David Carlisle
Dec 18 '17 at 16:20













Sure, but removing it doesn't help too.

– Alberto
Dec 18 '17 at 16:26





Sure, but removing it doesn't help too.

– Alberto
Dec 18 '17 at 16:26













Why do you need that? I don't think url with non-ascii characters are supported anywhere (feel free to correct me about this). Also there is no need to load url if you load hyperref.

– Skillmon
Dec 18 '17 at 16:33





Why do you need that? I don't think url with non-ascii characters are supported anywhere (feel free to correct me about this). Also there is no need to load url if you load hyperref.

– Skillmon
Dec 18 '17 at 16:33




7




7





href{detokenize{http://coração.net}}{texttt{http://coração.net}}

– user91669
Dec 18 '17 at 16:36





href{detokenize{http://coração.net}}{texttt{http://coração.net}}

– user91669
Dec 18 '17 at 16:36




3




3





@Skillmon unfortunately unicode domains are out there, and they are a big danger for phishing, as there are ways to make similar looking urls pointing to different places. Look here: wordfence.com/blog/2017/04/chrome-firefox-unicode-phishing

– Alberto
Dec 18 '17 at 16:41





@Skillmon unfortunately unicode domains are out there, and they are a big danger for phishing, as there are ways to make similar looking urls pointing to different places. Look here: wordfence.com/blog/2017/04/chrome-firefox-unicode-phishing

– Alberto
Dec 18 '17 at 16:41










1 Answer
1






active

oldest

votes


















0














The following code works with xelatex:



documentclass{article}
usepackage{fontspec,hyperref}
begin{document}
url{http://coração.net}
end{document}





share|improve this answer



















  • 2





    Yep, unfortunately I needed to use pdflatex.

    – Alberto
    Dec 18 '17 at 17:23












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f406762%2fpdflatex-breakurl-and-unicode-characters%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














The following code works with xelatex:



documentclass{article}
usepackage{fontspec,hyperref}
begin{document}
url{http://coração.net}
end{document}





share|improve this answer



















  • 2





    Yep, unfortunately I needed to use pdflatex.

    – Alberto
    Dec 18 '17 at 17:23
















0














The following code works with xelatex:



documentclass{article}
usepackage{fontspec,hyperref}
begin{document}
url{http://coração.net}
end{document}





share|improve this answer



















  • 2





    Yep, unfortunately I needed to use pdflatex.

    – Alberto
    Dec 18 '17 at 17:23














0












0








0







The following code works with xelatex:



documentclass{article}
usepackage{fontspec,hyperref}
begin{document}
url{http://coração.net}
end{document}





share|improve this answer













The following code works with xelatex:



documentclass{article}
usepackage{fontspec,hyperref}
begin{document}
url{http://coração.net}
end{document}






share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 18 '17 at 17:12







user91669















  • 2





    Yep, unfortunately I needed to use pdflatex.

    – Alberto
    Dec 18 '17 at 17:23














  • 2





    Yep, unfortunately I needed to use pdflatex.

    – Alberto
    Dec 18 '17 at 17:23








2




2





Yep, unfortunately I needed to use pdflatex.

– Alberto
Dec 18 '17 at 17:23





Yep, unfortunately I needed to use pdflatex.

– Alberto
Dec 18 '17 at 17:23


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f406762%2fpdflatex-breakurl-and-unicode-characters%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

Castillo d'Acher Características Menú de navegación