What's new

Strange Coding

Data Glasses

Top Contributor
I was not sure where to post this so chit chat is as good as any, now on top of trying to learn some new stuff i have discovered that there is a setting that is off stray in my computer ? I have just gone to add a link to some code (strange stuff happening lately) and this is what happened. I cut and pasted the code for a link because the quotation marks do not seem to be working??
~
<a rel="nofollow" href="http://www.rod.tv" target="_blank"> Rod's Site Link<a/>
<br>
<a rel="nofollow" href="http://www.e”asylawyer target="_blank"> Rod's Site Link<a/>
<br>
~
Now because i have been having trouble i thought i would test the situation, as you can see when i started with the COPIED CODE the first thing i tried was to put some text in between the quotation marks only to see the beginning of easylawyersearch add quotation marks along with the e letter, at this point i stopped as this has been happening all day (yes only shit likes this happens to me it seems) You may also notice that the quotation marks are different if you look closely. Huh??
~
Now i have restored to defaults on textedit and the problem still persists, i have also had this problem with text wrangler as well ???
~
Ok what's going on ?? One hint is that when i tried to find the source of the problem yesterday i went to safari then preferences, then to advanced only to see that the default encoding was set to Westen (ISO Latin 1) ...... say what !!!
~
Of course i reset it back to Unicode (UTF-8) but as you can see i am still getting different characters to what i am tying and it is making things hard as i try and do new stuff and fix old stuff
~
So the question is, has this happened to you before ?? What did you do ??
~
My next step is to go to services then on to Services Preferences and just hit default on each tab, keyboard, text, shortcuts, input services
~
I do understand that the reason i was having trouble was because of the Latin Encoding Setting but i changed that back to UTF-8 yesterday so i am still a little stumped as to why to problem persists
~
The way i first discovered the problem was that i went to wrc.org to validate some code only to see that the <html lang="en"> was not working and that basically anything with quotes was having a problem
 

Data Glasses

Top Contributor
I just cancelled a hosting account and did a survey and then discovered the problem has continued on , i did just post the gobbledegook here but it came out normally when i posted ? it looked like idn script ??
 

petermeadit

Top Contributor
Have you tried to type the code rather than paste it in?
Try using an online editor like in cPanel or something?
Also worth trying another computer to make sure it is not your setup?

Bit of a strange thing.
 

Data Glasses

Top Contributor
Yes the cut and paste was a last resort because of the quotation marks not working/being different when typing in directly, i thought i'll cut and paste then fill in the gaps but as the first shows the e changed as i went to type in easylawyersearch so i abandoned the idea at that point, yep it is strange, but the options you offer seem like something to try, thanks
 

findtim

Top Contributor
this is never gonna work
www.e”asyla

western, unicode etc i have NEVER had to deal with, i know it but once again i think you are making this to hard for yourself.
----------
extra info: spacey and i have had discussions via PM so i am not always trashing him :) , i'm just posting so others can see the advice.
-----------
the " and " are (opening and closing instructions) so if you put 1 in you must put the next one otherwise is will continue till the bottom off the page.

different files have different methods eg: some css uses


/* whatever you want to stop */

other files use <!-- whatever you want to stop -->

this way you can not delete what is there and if you stuff up you can go back and correct it.

also if you find:

color: #660066;

you can add:

color: #660066; /* this is the colour of the left menu header */

so next time you can go find it and KNOW where it is.

if on a PC great FREE tools
http://www.iconico.com/colorpic/
https://www.fookes.com/easy-thumbnails
https://getfirebug.com/

i think dreamweaver CS2 is available for a FREE download as well, its a GREAT program and all i ever need, not sure if you need a licence key but if you do i know someone that has it ;)

tim
 

Data Glasses

Top Contributor
this is never gonna work
www.e”asyla

western, unicode etc i have NEVER had to deal with, i know it but once again i think you are making this to hard for yourself.
----------
extra info: spacey and i have had discussions via PM so i am not always trashing him :) , i'm just posting so others can see the advice.
-----------
the " and " are (opening and closing instructions) so if you put 1 in you must put the next one otherwise is will continue till the bottom off the page.

different files have different methods eg: some css uses


/* whatever you want to stop */

other files use <!-- whatever you want to stop -->

this way you can not delete what is there and if you stuff up you can go back and correct it.

also if you find:

color: #660066;

you can add:

color: #660066; /* this is the colour of the left menu header */

so next time you can go find it and KNOW where it is.

if on a PC great FREE tools
http://www.iconico.com/colorpic/
https://www.fookes.com/easy-thumbnails
https://getfirebug.com/

i think dreamweaver CS2 is available for a FREE download as well, its a GREAT program and all i ever need, not sure if you need a licence key but if you do i know someone that has it ;)

tim

DO YOU UNDERSTAND ..... the code has been corrupted
~
There is a setting or something in my computer that has stopped the quotation marks working as they should be, that is how i discovered the settings were in Westen (ISO Latin 1) .... this seems to be related to what is going on, Peter Meadit gets it because he read my explanation of my predicament ......for some reason my computer is not using the proper characters, there is no point telling me how to code something when the keyboard i am using is not acting as it should
~
I highlighted the e and quotation mark to show that BOTH APPEARED when i simply typed in the letter e I did not finish trying to code because the characters are not what they should be
~
I typed in a eticket at ventraip and then discovered the word it's also had probem when i went back to read their reply the apostrophe had turned into an IDN looking script
it%$#(s
~
This has nothing to do with my coding, at first i thought perhaps it was a problem in a field of wrong encoding and that's why the strange stuff started happening but when it happened on a eticket at ventraip this displayed to me that the problem lies within my computer's settings even though i have reset it back to UTF-8
~
So what i need to do is find out why this is happening ??
~
You need to understand i never finished typing in the full link because i knew the characters were not going to work, the quotations are not the correct character set and that is where the problem lies. I not making anything hard for myself, i am trying to get help for a problem, not trying to fix it will be making things harder for myself, Tim read the first post and hopefully you will understand my problem, as stated Peter read it and got it, the code example is just to show what's happening at my end when trying to do something, it is not a coding issue other than not being able to use the correct character set to code with.
~
Something is up with this stupid Mac, i booked in at the library tomorrow and will use a different computer to try and see if that's a difference
~
I starting to think this is related to smart quotes ??
~
I can't be any clearer as to say when i went to w3c.org to validate my code it was then i noticed that ALL QUOTATION MARKS were invalid and looked %$^*(( instead of looking "
~
The example in red shows the quotation marks are leaning to the right if you looked closely, i did not put them in , they just appeared when i started to type the letter e
~
So i need a couple suggestions regarding my computer's language or character settings, there may be somewhere i do not know where to go and check or change
~
Tim ..... stop picking on me ...... i can't sleep : )
 

Data Glasses

Top Contributor
I have just found in services preferences that the language setting was set to automatic by language, i have reset it to australian english ......fingers crossed
 

findtim

Top Contributor
LOL, its " beer coaster theory" , you hold it up and you see one side and the other person sees the other side eg: peter got it i didn't

for now try a work around

whatever is stuffing up for you, type it into google find the correct word and cut and paste it into you code

google may say "did you mean" ..........

download jing
HTML:
http://www.techsmith.com/jing.html
it works on macs

email me a screenshot and i'll email you back what you want so you can cut and paste it.
tim @ white............ , you know it, or PM

another idea is to find what you want on another site and view source, firefox / firebug will allow you to grab it from them

there is nothing stopping you from getting arpound the fact you bought a bloody MAC :)

"he bought a MAC ? YEP he bought a MAC "

LOL

tim
 

Data Glasses

Top Contributor
http://www.techsmith.com
~
if i am trying to add a href <a href"http://www.techsmith.com" target="_blank"> Rods Site </a>
~
I am saying the quotations marks will not be the same
~
href=http://www.techsmith.com<<<< The quotation marks are different , can you see that, mate there is not point doing screenshots, getting people to send me code, the problem is in my computers settings. As you can see this what happens when i try and code a link into some html or when i try and do a meta tag ...etc
~
I may have to download firefox but the thing is i know there is a problem ......fixing it is the problem
 

findtim

Top Contributor
i get it.

bugger !

just take the computer to a mac tec and he will in 2 seconds change a setting and you will be sweet.

apple shop 7th floor of myers, walk in from collins street and take the lifts on the left hand side.

tim
 

Data Glasses

Top Contributor
Ok the mystery is starting to unfold , did a Ftp and there was a warning "server does not support non-ascii characters' Then at the library i went to save an edit to an existing code and got a reference to ANSI ....
 

petermeadit

Top Contributor
Ok the mystery is starting to unfold , did a Ftp and there was a warning "server does not support non-ascii characters' Then at the library i went to save an edit to an existing code and got a reference to ANSI ....

What happens if you start a new HTML file and just type a couple of hyperlinks into it? The other files could have been uploaded with that encoding.
 

Community sponsors

Domain Parking Manager

AddMe Reputation Management

Digital Marketing Experts

Catch Expired Domains

Web Hosting

Members online

No members online now.

Forum statistics

Threads
11,100
Messages
92,051
Members
2,394
Latest member
Spacemo
Top