Text to valid string converter

Navigation

Skip navigation.

Site search

Site navigation

This script

Description

Converts text into a string format that can be read by JavaScript.

Browser support

Trident / EdgeHTML / Tasman (Internet Explorer 4+, Edge 44-)Script works as expected
Opera 7-12Script works as expected
Gecko engine browsers (Mozilla, Firefox, Netscape 6+, etc)Script works as expected
KHTML / WebKit / Chromium / Blink / QT WebEngine / QTWebKit / WebKitGTK (Chrome, Vivaldi, Opera 15+, Edge 79+, Safari, Konqueror, OmniWeb 4.5+, iCab 4+, NetFront Chromium / WebKit)Works in all except Konqueror 2 and below
iCab 3-Script works as expected in iCab 3+
Rhino + W3C DOM (ICEbrowser)Script works as expected
Rhino + layers / W3C DOM (Escape / Evo, iBrow)Script works as expected
NetFront 3+ NetFront engineScript works as expected
Opera 5 and 6 Elektra engineDoes not work because of RegExp bug
Netscape 4Script works as expected
OmniWeb 4.2-Does not work because of RegExp bug
Rhino + pDOM (Clue browser)Does not work
WebTVDoes not work because of RegExp bug
Tkhtml Hv3+Does not work
Netgem NetBoxNot tested but it should work
OpenTVNot tested but it should work
iPanel MicroBrowserNot tested but it should work

Accessibility notes

Utility script - no accessibility notes.

License

Please see my terms and conditions page for terms and conditions of use.

This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.