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

  • Home
  • SEARCH
  • 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 7864161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:42:08+00:00 2026-06-02T23:42:08+00:00

I am using the UTF-16 code \u2013 in my java property file to display

  • 0

I am using the UTF-16 code "\u2013" in my java property file to display a dash in my page. The page is in French. Now at this link: http://www.fileformat.info/info/unicode/char/2013/index.htm I see that they say this is an ‘en-dash’. What is an en-dash? A dash should be same in en and fr I think.
On the screen, it shows up as a question mark.
What am I missing here?

  • 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-02T23:42:09+00:00Added an answer on June 2, 2026 at 11:42 pm

    en dash is unrelated to english language. It’s named after its length (or width): a dash that is 1en large.

    There’s also the em dash, which width is 1em.

    1en is the width of the letter n; 1em is the width of the letter m. The former width is half the width of the latter (their name in french typography are resp. tiret demi-cadratin and tiret cadratin. Demi means half and tiret dash: it’s quite clear that one is half the other).

    Uses:

    • “09:00 – 17:00” is a range and the dash should be an en dash
    • “and Paris – the legendary figure of the Trojan War, not the capital of France – said to Hector” should use em dashes where parenthesis could’ve been used

    Other facts:

    • em is also a relative unit in CSS
    • respective HTML entities are – and —.

    As for the question mark displayed: is the font used able to display those glyphs? The dash/minus - is OK if the font lacks any other dash.

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

Sidebar

Related Questions

i have the next code written in C#....it create a tex file using utf-8.....the
When I try to write UTF-8 Strings into an XML file using DOMDocument it
I'm trying to write an xml file with utf-8 encoded data using ElementTree like
I using charset utf 8 and it be error: Notice: Trying to get property
I just stumbled upon the following article: http://www.josscrowcroft.com/2011/code/utf-8-multibyte-characters-in-url-parameters-%E2%9C%93/ The article talks about using UTF-8
I am using the code below to read a ~2.5Gb Xml file as fast
I'm having trouble reading in supplementary unicode characters using Java. I have a file
I am using $encoding = 'utf-8'; in gettext and in my html code i
Here's the code using GetOpenFileNameW : import core.sys.windows.windows; import std.stdio, std.string, std.utf; pragma(lib, comdlg32);
I'm using the following JSoup code to render this currency: currencySpan.html(€ + currencyFormat.format(estimatedValue)); However

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.