Displaying ISO Latin Characters
If you’re authoring Web pages by hand, it can be a hassle to remember codes for different characters like á and à. Script 17.8 shows you a list of common variations of the vowels.
To display ISO Latin characters:
Start off the bookmarklet by initializing several variables.
var eWin,n,i,j,w,t='<table border=1 cellpadding=20 cellspacing=0>', l=document.createElement('p'),
Initialize a string, v, which contains all the vowels.
Here’s an array, s, which contains all the diacritical character codes.
s=new Array('acute','circ','elig', 'Elig','grave','ring','slash', 'tilde','uml');
This line sets up i to loop through the characters in the v string.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.