- Html code soft hyphen mac#
- Html code soft hyphen windows#
Syllabification isn’t that easy and I cannot recommend leaving it to some Javascript. You may include a browser check telling people to use something mature or continue at their own risk if they come around with some strange browser. I found that is working properly in both recent Internet Explorer and Firefox browsers, that should be enough. I always find it a pity that people don’t use techniques because there is some-maybe old or strange-browser around which doesn’t handle them the way they were specified. I use , inserted manually where necessary.
IE7 (Win7): fail only matches when both contain shy hyphens, success, fail only matches when both contain shy hyphens. IE8 (Win7): fail only matches when both contain shy hyphens, success, fail only matches when both contain shy hyphens. IE10 (Win7): fail only matches when both contain shy hyphens, success, fail only matches when both contain shy hyphens. Safari (6.1.2, Mac): success, success, success. Success and failure as search engine matching. Yandex: fails, succeeds (though it's possible it's matching a string fragment like Baidu, not 100% sure). Baidu: fails, fails (can match fragments within longer strings but not the words on their own containing a or ). Success: searches on the whole, non-hyphenated word find this page.įailure: search engines only find this page on searches for the broken segments of the words, or a word with hyphens. not tested because StackOverflow's CMS stripped it out. IE7 (Win7): fail pastes all as hyphens, fail, fail pastes all as hyphens. IE8 (Win7): fail pastes all as hyphens, fail, fail pastes all as hyphens. IE10 (Win7): fail pastes all as hyphens, fail, fail pastes all as hyphens. Safari (6.1.2, Mac): fail into MS Word (pastes all as hyphens), success in other applications fail, fail into MS Word (pastes all as hyphens), success in other applications. Html code soft hyphen mac#
(tested on Mac pasting into browser search, MS Word 2011, and Sublime Text)įailure: pasting with a hyphen, space, line break, or with junk characters. Success: copying and pasting the whole word, unhyphenated.
IE7 (Windows 7): success, success, success. Not yet found any clear pattern as to why. IE8 (Windows 7): erratic - sometimes, none of them work at all and they all just follow css word-wrap. IE10 (Windows 10): success, fail (no break), success. IE11 (Windows 10): success, fail (no break), success. Edge (Windows 10): success, fail (break but no hyphen), success. Safari (6.1.2, Mac): success, not tested yet, success. Firefox (35.0.1, Mac): success, success, success. Chrome (.115, Mac): success, success, success. Success: displaying as a normal word, except where it should break, when it breaks and hyphenates in the specified place.įailure: displaying unusually, or failing to break in the intended place. ZZZconfumbabblicationismZZZdonfounbabblicationismZZZeonfulbabblicationismZZZ Display across browsers Here they are with no shy hyphens (this is for copying and pasting into find-on-page testing written in a way which won't break the search engine tests): - eonfulbabblicationism - eonfulbabblicationism. - confumbabblicationism - confumbabblicationism. Bing and Baidu seem to not match either.įor up-to-date live testing, here are some examples of unique words with soft hyphens. As of 2017 it appears to no longer match words containing . Search engines: Google matches words containing with words typed normally. Find on page works for and on all browsers except IE which only matches exact copied-and-pasted matches (even up to IE11). IE (win7) always pastes with hyphens, even in IE10, and Safari (Mac) copies in a way which pastes as hyphens in some applications (e.g. Html code soft hyphen windows#
When copied and pasted from browsers: (tested 2015) as expected for and for Chrome and Firefox on Mac, on Windows (10), it keeps the characters and pastes hard hyphens into Notepad and invisible soft hyphens into applications that support them.isn't supported in recent versions of IE (10 or 11) and doesn't work properly in Edge. In browsers: and both display as expected in major browsers (even old IE!).They all perform pretty well, edges it as Google can still index of words containing it. Feb 2015 summary (partially updated Nov 2017)