Is it possible to use iso-8859-7 encoding (english,greek) with biblatex(backend set to biber)?












3















I am trying to write a double language thesis document with the following packages:



documentclass{customThesis}
usepackage[greek,english]{babel}
usepackage[iso-8859-7]{inputenc}

usepackage[refsection=chapter,

backend=biber,
firstinits=true,
isbn=false,
url=false,
safeinputenc,
% bibencoding=auto
sorting=none]{biblatex}


I get the following error when trying to run pdflatex+biber+pdflatex on it:
! Package biblatex Error: Greek requires UTF-8 support.
See the biblatex package documentation for explanation.



Any ideas how to make that work?










share|improve this question

























  • Unfortunately the Greek localisation module needs utf8 because its .lbx file is encoded in UTF-8.

    – moewe
    Sep 25 '18 at 10:17






  • 1





    My suggestion is not about using the old encoding, but can't you convert it to UTF-8? Something like iconv -f iso-8859-7 -t utf-8 < input > output should do. All editors from, like, last 10 years, should support Unicode.

    – Oleg Lobachev
    Sep 25 '18 at 10:56
















3















I am trying to write a double language thesis document with the following packages:



documentclass{customThesis}
usepackage[greek,english]{babel}
usepackage[iso-8859-7]{inputenc}

usepackage[refsection=chapter,

backend=biber,
firstinits=true,
isbn=false,
url=false,
safeinputenc,
% bibencoding=auto
sorting=none]{biblatex}


I get the following error when trying to run pdflatex+biber+pdflatex on it:
! Package biblatex Error: Greek requires UTF-8 support.
See the biblatex package documentation for explanation.



Any ideas how to make that work?










share|improve this question

























  • Unfortunately the Greek localisation module needs utf8 because its .lbx file is encoded in UTF-8.

    – moewe
    Sep 25 '18 at 10:17






  • 1





    My suggestion is not about using the old encoding, but can't you convert it to UTF-8? Something like iconv -f iso-8859-7 -t utf-8 < input > output should do. All editors from, like, last 10 years, should support Unicode.

    – Oleg Lobachev
    Sep 25 '18 at 10:56














3












3








3








I am trying to write a double language thesis document with the following packages:



documentclass{customThesis}
usepackage[greek,english]{babel}
usepackage[iso-8859-7]{inputenc}

usepackage[refsection=chapter,

backend=biber,
firstinits=true,
isbn=false,
url=false,
safeinputenc,
% bibencoding=auto
sorting=none]{biblatex}


I get the following error when trying to run pdflatex+biber+pdflatex on it:
! Package biblatex Error: Greek requires UTF-8 support.
See the biblatex package documentation for explanation.



Any ideas how to make that work?










share|improve this question
















I am trying to write a double language thesis document with the following packages:



documentclass{customThesis}
usepackage[greek,english]{babel}
usepackage[iso-8859-7]{inputenc}

usepackage[refsection=chapter,

backend=biber,
firstinits=true,
isbn=false,
url=false,
safeinputenc,
% bibencoding=auto
sorting=none]{biblatex}


I get the following error when trying to run pdflatex+biber+pdflatex on it:
! Package biblatex Error: Greek requires UTF-8 support.
See the biblatex package documentation for explanation.



Any ideas how to make that work?







biblatex biber input-encodings






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 25 '18 at 10:14









Herbert

271k24409718




271k24409718










asked Sep 25 '18 at 10:06









Paris MoschovakosParis Moschovakos

182




182













  • Unfortunately the Greek localisation module needs utf8 because its .lbx file is encoded in UTF-8.

    – moewe
    Sep 25 '18 at 10:17






  • 1





    My suggestion is not about using the old encoding, but can't you convert it to UTF-8? Something like iconv -f iso-8859-7 -t utf-8 < input > output should do. All editors from, like, last 10 years, should support Unicode.

    – Oleg Lobachev
    Sep 25 '18 at 10:56



















  • Unfortunately the Greek localisation module needs utf8 because its .lbx file is encoded in UTF-8.

    – moewe
    Sep 25 '18 at 10:17






  • 1





    My suggestion is not about using the old encoding, but can't you convert it to UTF-8? Something like iconv -f iso-8859-7 -t utf-8 < input > output should do. All editors from, like, last 10 years, should support Unicode.

    – Oleg Lobachev
    Sep 25 '18 at 10:56

















Unfortunately the Greek localisation module needs utf8 because its .lbx file is encoded in UTF-8.

– moewe
Sep 25 '18 at 10:17





Unfortunately the Greek localisation module needs utf8 because its .lbx file is encoded in UTF-8.

– moewe
Sep 25 '18 at 10:17




1




1





My suggestion is not about using the old encoding, but can't you convert it to UTF-8? Something like iconv -f iso-8859-7 -t utf-8 < input > output should do. All editors from, like, last 10 years, should support Unicode.

– Oleg Lobachev
Sep 25 '18 at 10:56





My suggestion is not about using the old encoding, but can't you convert it to UTF-8? Something like iconv -f iso-8859-7 -t utf-8 < input > output should do. All editors from, like, last 10 years, should support Unicode.

– Oleg Lobachev
Sep 25 '18 at 10:56










1 Answer
1






active

oldest

votes


















2














biblatex's localisation modules require UTF-8 encoding for some languages with non-Latin alphabet (at the moment Bulgarian, Greek, Russian, Ukrainian). That means that those .lbx files can only be loaded if the document is UTF-8 encoded (or rather, if biblatex detects that it is processed in an UTF-8 mode).



The modules will issue an error if a UTF-8 encoding is not detected. If you need biblatex in Greek, you can't use ISO 8859-7 (or rather you'd have to re-encode greek.lbx into ISO 8859-7).



Unfortunately, the mere fact that the language has been declared to babel will cause the localisation module to be loaded, even if it is not actually needed and used. That means that you can get this error even if you don't care about greek.lbx at all. In that case – and only in that case – you can silence the error with csletcs{lbx@ifutfinput}{@firstoftwo}. That line pretends that the .lbx file is read in UTF-8 mode. This will only work smoothly if you never use the Greek localisation, otherwise you might run into all sorts of errors or undesired behaviour.



documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[greek,english]{babel}
usepackage[iso-8859-7]{inputenc}
usepackage{csquotes}

usepackage[style=authoryear, backend=biber]{biblatex}

csletcs{lbx@ifutfinput}{@firstoftwo}

addbibresource{biblatex-examples.bib}

begin{document}
cite{sigfridsson}
printbibliography
end{document}


compiles without error. Even though it loads greek with babel. english is the main language and Greek never used for citations or the bibliography, so everything is working fine.






share|improve this answer

























    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%2f452400%2fis-it-possible-to-use-iso-8859-7-encoding-english-greek-with-biblatexbackend%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









    2














    biblatex's localisation modules require UTF-8 encoding for some languages with non-Latin alphabet (at the moment Bulgarian, Greek, Russian, Ukrainian). That means that those .lbx files can only be loaded if the document is UTF-8 encoded (or rather, if biblatex detects that it is processed in an UTF-8 mode).



    The modules will issue an error if a UTF-8 encoding is not detected. If you need biblatex in Greek, you can't use ISO 8859-7 (or rather you'd have to re-encode greek.lbx into ISO 8859-7).



    Unfortunately, the mere fact that the language has been declared to babel will cause the localisation module to be loaded, even if it is not actually needed and used. That means that you can get this error even if you don't care about greek.lbx at all. In that case – and only in that case – you can silence the error with csletcs{lbx@ifutfinput}{@firstoftwo}. That line pretends that the .lbx file is read in UTF-8 mode. This will only work smoothly if you never use the Greek localisation, otherwise you might run into all sorts of errors or undesired behaviour.



    documentclass[british]{article}
    usepackage[T1]{fontenc}
    usepackage[greek,english]{babel}
    usepackage[iso-8859-7]{inputenc}
    usepackage{csquotes}

    usepackage[style=authoryear, backend=biber]{biblatex}

    csletcs{lbx@ifutfinput}{@firstoftwo}

    addbibresource{biblatex-examples.bib}

    begin{document}
    cite{sigfridsson}
    printbibliography
    end{document}


    compiles without error. Even though it loads greek with babel. english is the main language and Greek never used for citations or the bibliography, so everything is working fine.






    share|improve this answer






























      2














      biblatex's localisation modules require UTF-8 encoding for some languages with non-Latin alphabet (at the moment Bulgarian, Greek, Russian, Ukrainian). That means that those .lbx files can only be loaded if the document is UTF-8 encoded (or rather, if biblatex detects that it is processed in an UTF-8 mode).



      The modules will issue an error if a UTF-8 encoding is not detected. If you need biblatex in Greek, you can't use ISO 8859-7 (or rather you'd have to re-encode greek.lbx into ISO 8859-7).



      Unfortunately, the mere fact that the language has been declared to babel will cause the localisation module to be loaded, even if it is not actually needed and used. That means that you can get this error even if you don't care about greek.lbx at all. In that case – and only in that case – you can silence the error with csletcs{lbx@ifutfinput}{@firstoftwo}. That line pretends that the .lbx file is read in UTF-8 mode. This will only work smoothly if you never use the Greek localisation, otherwise you might run into all sorts of errors or undesired behaviour.



      documentclass[british]{article}
      usepackage[T1]{fontenc}
      usepackage[greek,english]{babel}
      usepackage[iso-8859-7]{inputenc}
      usepackage{csquotes}

      usepackage[style=authoryear, backend=biber]{biblatex}

      csletcs{lbx@ifutfinput}{@firstoftwo}

      addbibresource{biblatex-examples.bib}

      begin{document}
      cite{sigfridsson}
      printbibliography
      end{document}


      compiles without error. Even though it loads greek with babel. english is the main language and Greek never used for citations or the bibliography, so everything is working fine.






      share|improve this answer




























        2












        2








        2







        biblatex's localisation modules require UTF-8 encoding for some languages with non-Latin alphabet (at the moment Bulgarian, Greek, Russian, Ukrainian). That means that those .lbx files can only be loaded if the document is UTF-8 encoded (or rather, if biblatex detects that it is processed in an UTF-8 mode).



        The modules will issue an error if a UTF-8 encoding is not detected. If you need biblatex in Greek, you can't use ISO 8859-7 (or rather you'd have to re-encode greek.lbx into ISO 8859-7).



        Unfortunately, the mere fact that the language has been declared to babel will cause the localisation module to be loaded, even if it is not actually needed and used. That means that you can get this error even if you don't care about greek.lbx at all. In that case – and only in that case – you can silence the error with csletcs{lbx@ifutfinput}{@firstoftwo}. That line pretends that the .lbx file is read in UTF-8 mode. This will only work smoothly if you never use the Greek localisation, otherwise you might run into all sorts of errors or undesired behaviour.



        documentclass[british]{article}
        usepackage[T1]{fontenc}
        usepackage[greek,english]{babel}
        usepackage[iso-8859-7]{inputenc}
        usepackage{csquotes}

        usepackage[style=authoryear, backend=biber]{biblatex}

        csletcs{lbx@ifutfinput}{@firstoftwo}

        addbibresource{biblatex-examples.bib}

        begin{document}
        cite{sigfridsson}
        printbibliography
        end{document}


        compiles without error. Even though it loads greek with babel. english is the main language and Greek never used for citations or the bibliography, so everything is working fine.






        share|improve this answer















        biblatex's localisation modules require UTF-8 encoding for some languages with non-Latin alphabet (at the moment Bulgarian, Greek, Russian, Ukrainian). That means that those .lbx files can only be loaded if the document is UTF-8 encoded (or rather, if biblatex detects that it is processed in an UTF-8 mode).



        The modules will issue an error if a UTF-8 encoding is not detected. If you need biblatex in Greek, you can't use ISO 8859-7 (or rather you'd have to re-encode greek.lbx into ISO 8859-7).



        Unfortunately, the mere fact that the language has been declared to babel will cause the localisation module to be loaded, even if it is not actually needed and used. That means that you can get this error even if you don't care about greek.lbx at all. In that case – and only in that case – you can silence the error with csletcs{lbx@ifutfinput}{@firstoftwo}. That line pretends that the .lbx file is read in UTF-8 mode. This will only work smoothly if you never use the Greek localisation, otherwise you might run into all sorts of errors or undesired behaviour.



        documentclass[british]{article}
        usepackage[T1]{fontenc}
        usepackage[greek,english]{babel}
        usepackage[iso-8859-7]{inputenc}
        usepackage{csquotes}

        usepackage[style=authoryear, backend=biber]{biblatex}

        csletcs{lbx@ifutfinput}{@firstoftwo}

        addbibresource{biblatex-examples.bib}

        begin{document}
        cite{sigfridsson}
        printbibliography
        end{document}


        compiles without error. Even though it loads greek with babel. english is the main language and Greek never used for citations or the bibliography, so everything is working fine.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 6 at 13:55

























        answered Sep 25 '18 at 10:57









        moewemoewe

        87.7k9110335




        87.7k9110335






























            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%2f452400%2fis-it-possible-to-use-iso-8859-7-encoding-english-greek-with-biblatexbackend%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

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?