Issue Copying and Pasting Text with Apostrophe

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.

  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;

Issue Copying and Pasting Text with Apostrophe

Postby Jason92s » Tue Dec 06, 2016 7:08 pm

Hello, I'm using the trial of Rapid PHP and really enjoying it. One thing I noticed is that I'm having problems when I copy and paste text into my HTML/PHP files that contain apostrophes. If I manually type the apostrophe, then it works fine. However, when I paste something with an apostrophe and then view the web page in the browser, I see a diamond with a question mark inside where the apostrophe should be. Any ideas?

Here's a picture from Rapid PHP. The first line shows a copied/pasted line with an apostrophe and the second line shows a line with a manually typed apostrophe.

Image

Here's a picture showing the diamond with the question mark inside where the apostrophe should be.

Image
Jason92s
 
Posts: 4
Joined: Tue Dec 06, 2016 6:52 pm

Re: Issue Copying and Pasting Text with Apostrophe

Postby Aivars » Tue Dec 06, 2016 10:17 pm

Hi! It's probably not the ASCII apostrophe but one of the many unicode symbols such as http://www.fileformat.info/info/unicode ... /index.htm
To make it work properly, make sure your file encoding is set to UTF-8 without BOM and you have charset defined in <head> of html:
Code: Select all
<meta charset="UTF-8">


charsetutf8.png
charsetutf8.png (65.28 KiB) Viewed 1721 times
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2452
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Issue Copying and Pasting Text with Apostrophe

Postby Jason92s » Tue Dec 06, 2016 11:31 pm

Thank you Aivars
Jason92s
 
Posts: 4
Joined: Tue Dec 06, 2016 6:52 pm


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: No registered users and 3 guests