Asked By
markco
0 points
N/A
Posted on - 11/04/2011
Hi,
I was wondering why Dreamweaver doesn’t allow hyphenated words in a page; words like mother-in-law, etc.
It converts to motherinlaw which is definitely wrong, right.
Is this a known bug in Dreamweaver?
If so, is there a workaround for this?
Please help. Need this ASAP.
See screenshot of error message:
Error:
Dreamweaver
Names can only contain low-ASCII letters and numbers and cannot begin with a number.
Dreamweaver does not allow hyphenated word
Why don't you try converting the dashes or hyphens if Dreamweaver is interpreting it differently. Like for example, the ampersand (&) symbol is equivalent to & or &.
The dash or hyphen can be converted to ‐ or ‐ or ‐. So, if you will have a word like mother-in-law, you can put it as mother‐in‐law or mother‐in‐law or mother‐in‐law.
Here are other symbols and their equivalent codes:
-
– (dash or hyphen) – ‐ ‐ ‐
-
– (ndash) – – –
-
— (mdash) – — —
-
< (less-than sign) – < <
-
= (equals sign) – = =
-
> (greater-than sign) – > >
-
£ (pound sign) – £ £
-
§ (section sign) – § §
-
© (copyright symbol) – © ©
-
® (registered sign) – ® ®
Answered By
lee hung
75 points
N/A
#105343
Dreamweaver does not allow hyphenated word
Hallo Markco,
That is how the Dreamweaver programming language was set during its development. Its coded has been developed such that when giving names you can only use numbers and letters, without white spaces and hyphens.
The coding that has been used is the American Standard Code for Information Interchange, but it allows you to use underscores in places that you might have wanted to use the hyphens. You can also opt to use only a single name or mix the name with some numbers if you do not want it to look like some other name.
Regards
Lee Hung