Git Product home page Git Product logo

Comments (10)

safiresh avatar safiresh commented on August 17, 2024 6

I fixed this issue set environment variable.
sudo nano /etc/environment

#append below line
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8

kindly restart env variable else log off and login onetime .

from node-html-pdf.

jinglescode avatar jinglescode commented on August 17, 2024

i've got this error message too

from node-html-pdf.

marcbachmann avatar marcbachmann commented on August 17, 2024

Hmm. Sorry, I've never seen that error. Have you tried phantomjs2?
Can you check your LC_* environment variables. My variables all contain en_US.UTF-8.
You can list them like that:

$ env | grep LC
LC_PAPER=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_ALL=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_NAME=en_US.UTF-8

from node-html-pdf.

jinglescode avatar jinglescode commented on August 17, 2024

i'm not sure i did, but its solved now. npm install and uninstall both phamton and phamtonjs. apt-get afew things too.

from node-html-pdf.

thakkarparth007 avatar thakkarparth007 commented on August 17, 2024

@lonedune, can you tell what exactly you did to solve this issue? I've been facing it too.

from node-html-pdf.

safaorhan avatar safaorhan commented on August 17, 2024

Facing the same issue on Ubuntu 14.04.

$ env | grep LC gives:

LC_ALL=en_US.UTF-8
LC_CTYPE=UTF-8

$ locale gives:

LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

from node-html-pdf.

dejankorez avatar dejankorez commented on August 17, 2024

I have the same problem :(

from node-html-pdf.

safiresh avatar safiresh commented on August 17, 2024

from node-html-pdf.

uber1geek avatar uber1geek commented on August 17, 2024

This should fix your issue:

sudo apt-get install language-pack-en-base
sudo dpkg-reconfigure locales (Select All and then select en_us for local)
sudo reboot

from node-html-pdf.

moschel26 avatar moschel26 commented on August 17, 2024

@uber1geek Maybe you can help this question : https://stackoverflow.com/questions/51947226/how-can-i-install-gitextensions-in-mac-os

from node-html-pdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.