My Oracle Support Banner

MS Word Smart Quotes Saved Return as Question Marks (?Hello World? or ¿Hello World¿) (Doc ID 2022024.1)

Last updated on MARCH 14, 2022

Applies to:

Oracle Forms - Version and later
Information in this document applies to any platform.



The above figure shows an example of what Smart Quote are and used for demonstration purpose only.

Data in the DB was saved by copying MS Word Text, Pasting it into Forms, and saving it. Some of the data from MS Word contains MS "Smart Quotes" which are also called "Curly Quotes" or "Typographer's Quotes"

When copied into the text field the quotes appear normal.  However, when the data is saved and re-queried the quotes are not returned accurately.  For example:


  1. If double "Smart Quotes" are used then “Hello World” displays as ¿Hello World¿
  2. If single "Smart Quotes" are used then ‘Hello World’ becomes `world¿
  3. If the data is examined in the data base using commands from <Note 13854.1> "Dump SQL Command for NLS Debugging" one can see the following:

ASCII for the double "Smart quote" was saved as 191 for both the leading and trailing quote.  It should be 147 for leading and 148 for trailing.

One can see similar problems for the saved single "Smart Quote".  The leading and trailing ASCII representation should be 145 and 146 respectively but it is also saved incorrectly. This behavior has also been seen in other Microsoft products, including Outlook.





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.