Troubles with my website - Strange Characters

Joined
Feb 22, 2003
Messages
4,305
Location
Somewhere in the US
I am having trouble with my website. It isn't getting the proper symbols that I encode. For example, the dash seems to be a problem.

Here's one of the pages where this seems to be a problem: http://barrystiretech.com/sttires.html

And that first sentence is an example: This article is about travel trailers – RV’s – that have ST type tires.

What's going on?

Thanks in advance

Barry
 
Joined
Jun 15, 2003
Messages
38,760
Location
ME
Looks like pretty simple HTML. What's your editor? Do you FTP stuff in or edit via your hosts cloud based editor?

It looks like something is misinterpreting standard ASCII characters like quotation marks.
 

OVERKILL

$100 Site Donor 2021
Joined
Apr 28, 2008
Messages
54,517
Location
Ontario, Canada
Definitely looks like something is buggering up the HTML, if you look at the code:

<p>This article is about travel trailers – RV’s – that have ST type tires. Other kinds of trailers
or other types of tires on RV trailers are not specifically addressed here. HOWEVER, if you have a trailer
of any sort you may find the information of value</p>

The improper characters are being embedded in the text.

As eljefino noted, what are you using for an editor? If you pull the above page up in Notepad for example, you can correct the characters and they will look normal.
 

CapriRacer

Thread starter
Joined
Feb 22, 2003
Messages
4,305
Location
Somewhere in the US
Editor? My brain and my fingers!

I am writing this in notepad and uploading it using FileZilla. The webpage looks fine on my computer, but it has issues after the upload.
 
Joined
Apr 10, 2011
Messages
263
Location
NV
When I have this issue at work I need to make sure I use Unicode (UTF-8 or 16 IIRC) vs. ASCII encoding in the documents I’m uploading.
 
Joined
Sep 27, 2015
Messages
4,688
Location
USA
Yes you wrote "RV's" and the single and double quote marks got parsed into Unicode. Which isn't necessarily a problem if everything down the line is Unicode compatbile.
 

wwillson

Staff member
Joined
Aug 20, 2003
Messages
5,485
Location
Naperville, IL
Older databases my not support UTF-8. When we migrated BITOG from UBB to XF, we had serious challenges with this
 

OVERKILL

$100 Site Donor 2021
Joined
Apr 28, 2008
Messages
54,517
Location
Ontario, Canada
Editor? My brain and my fingers!

I am writing this in notepad and uploading it using FileZilla. The webpage looks fine on my computer, but it has issues after the upload.
Looks like it is being converted. Does your hosting have a management interface like Plesk? IIRC, it has a file manager with the ability to edit, you could open that file with that editor, correct it, and see if it sticks. Quick workaround while you get your encoding sorted out for your process.

I tend to use BBEdit on MacOS, used Gedit on Linux/BSD, as it has syntax highlighting and is very nice to write in. Not sure if there's a Windows equivalent?
 

CapriRacer

Thread starter
Joined
Feb 22, 2003
Messages
4,305
Location
Somewhere in the US
OK

Installed notepad++ this morning. But it didn't seem to be the fix for the problem. However, I noticed that I was having an issue to capital letters in the file name (vs lower case letters). Once I fixed that, it seemed to work fine.

Now I wonder if that was my problem all along. I'll do some research later to figure out what's up.

Thanks for all the help. Much appreciated.
 
Top