Smart quotes vs. plain quotes in text and CSV files

When importing .txt or .csv file in your ArcGIS Online web map something to consider is the use of smart quotes and apostrophes (also called “curly” or “book”) vs. plain ones. For example, if smart apostrophes are used, you will see unrecognized characters displayed in your pop-ups, like shown below:

What’s a smart quote? Look closely below and you’ll see the smart quote in the top line and the plain quote on the bottom line.

To correctly display the apostrophe in the pop-up, simply change smart ones to plain, or save the text file out as UTF-8, which will support smart quotes in pop-ups.

Below is the same pop-up as shown at the beginning of this post, using plain quotes on the left, and UTF-8 smart quotes on the right.

For more information see Configuring pop-ups windows.

This entry was posted in ArcGIS Online, Story Maps and tagged . Bookmark the permalink.

Leave a Reply

One Comment

  1. dakotablu says:

    Hey there Bern,

    Can you save the .csv with the UTF-8 encoding or is the best practice to save out as a .txt (with UTF-8 Encoding) and then add to a web map?
    Some what related, is there a text character limit (including spaces), per cell, for .csv and/or .txt when adding to web maps?

    Thanks much.