Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8377901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:47:31+00:00 2026-06-09T15:47:31+00:00

I am running my Mocha unit tests like below (with output) [jiewmeng@JM Tickle]$ cake

  • 0

I am running my Mocha unit tests like below (with output)

[jiewmeng@JM Tickle]$ cake test-ui
path.existsSync is now called `fs.existsSync`.


  hello
    ��� should pass 
    ��� should pass 2 

  Home page
    ��� should have a title of Express (72ms)


  ��� 3 tests complete (77ms)

As you can see (hopefully), I am having “?” instead of ticks/crosses I’d expect? I think I am missing some fonts? Which are they? I am on Arch Linux

UPDATE

$ locale
LANG=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=

Font is DejaVu Sans Mono Book

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:47:32+00:00Added an answer on June 9, 2026 at 3:47 pm

    A likely issue is that your encoding is not utf-8.

    Try running locale in your terminal. If you support utf-8, you should see something similar to:

    [ ~ ]
    ➜ locale
    LANG="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_CTYPE="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_ALL=
    [ ~ ]
    ➜ 
    

    (I’m on OSX so my output may have more or less variables; the important thing to note is the en_US.UTF-8 values).

    If not, you may want to try uncommenting (or adding) a line in your config:

    export LANG=en_US.UTF-8
    

    Depending on your system, the appropriate config file might be one of:

    • /etc/rc.conf # <= Arch Linux
    • /etc/environment
    • /etc/profile.d/lang.sh

    That will change the encoding for all users, but you could theoretically also just make the change for your user by adding the line to one of:

    • ~/.pam_environment
    • ~/.profile

    I may be able to provide more information knowing your system (os, version, etc).

    You may also want to see: https://unix.stackexchange.com/questions/22435/how-to-fix-character-encoding-in-bash-arch-linux

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got the following Makefile: #runs the working directory unit tests test: @NODE_ENV=test; \
What's the convention for making my mocha tests aware of my class under test
I am trying to play around with mocha running on node under Windows. I've
I'm starting a nodejs project and would like to do BDD with Mocha and
I want to use tamejs to write mocha tests, but mocha doesn't support it
Running a ruby on rails project on my mac. I need to test it
My question is about unit testing javascript code using Mocha. Ultimately this may be
Running a rails site right now using SQLite3. About once every 500 requests or
Running IIS5 (yes, really). I'd like to remove the eTag http header that IIS
I'm trying to create a standalone test suite using mocha, that in a perfect

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.