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 788707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:24:36+00:00 2026-05-14T21:24:36+00:00

Alright so we had a problem recently In reporting services some of the String

  • 0

Alright
so we had a problem recently

In reporting services some of the String Columns were appearing as gibberish Chinese characters.

On further investigation we found it is the hyphen. Well that’s what we though first. On further investigation we found it a dash (or en dash) . Basically the reason this has happened is people copy pasting values into this column from word which converts hyphens into dashes automatically.

But if you look at the database they both look the same. Though on the application side you can see the difference.

How do I replace the dash with a normal hyphen.

If you copy the value in put it in SQL server. A hyphen is gray while a dash is black
but they both look exactly the same (i.e not bigger or smaller). Problem is I can’t write a REPLACE script then (they are the freakin same)

REPLACE (‘-‘ with ‘-‘)

is there a way special characters like the dash can be identified in SQL server?

SQL Server v 2005

  • 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-05-14T21:24:37+00:00Added an answer on May 14, 2026 at 9:24 pm

    You can use NCHAR(8211) for the en dash, or NCHAR(8212) for em dash.

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

Sidebar

Related Questions

Alright, i had this homework recently (don't worry, i've already done it, but in
Alright, I recently wrote a ajax push script which had php on the backend
Alright, I've googled getting a string from Serial with Arduino and I've had no
Alright. I thought this problem had something to do with my rails app, but
Alright, I thought I had this whole setTimeout thing perfect but I seem to
Alright I created some custom classes for my project sourced from this tutorial ,
Alright, so heres my problem: I have an application I am working with that
Alright, so i had the bright idea of using namespaces and an if statement
alright so here is an excersise we had on today's exam of operating systems
Alright, I have some questions... When you have a moment, can you take a

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.