Rev 1234 | Rev 1238 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1234 | Rev 1237 | ||
|---|---|---|---|
| Line 509... | Line 509... | ||
| 509 | } |
509 | } |
| 510 | } |
510 | } |
| 511 | 511 | ||
| 512 | Display.prototype.replaceAumlauts = function(intext) |
512 | Display.prototype.replaceAumlauts = function(intext) |
| 513 | { |
513 | { |
| 514 | intext = intext.replace(/Å/, |
514 | intext = intext.replace(/Å/, String.fromCharCode(1)); |
| 515 | intext = intext.replace(/å/, |
515 | intext = intext.replace(/å/, String.fromCharCode(0)); |
| 516 | intext = intext.replace(/Ä/, |
516 | intext = intext.replace(/Ä/, String.fromCharCode(2)); |
| 517 | intext = intext.replace(/ä/, String.fromCharCode(225)); |
517 | intext = intext.replace(/ä/, String.fromCharCode(225)); |
| 518 | intext = intext.replace(/Ö/, |
518 | intext = intext.replace(/Ö/, String.fromCharCode(3)); |
| 519 | intext = intext.replace(/ö/, String.fromCharCode(239)); |
519 | intext = intext.replace(/ö/, String.fromCharCode(239)); |
| 520 |
|
520 | //intext = intext.replace(/:/, ";"); |
| 521 |
|
521 | //intext = intext.replace(/,/, "."); |
| 522 | return intext; |
522 | return intext; |
| 523 | } |
523 | } |
| 524 | 524 | ||
| 525 | Display.prototype.softPwmOnline = function() |
525 | Display.prototype.softPwmOnline = function() |
| 526 | { |
526 | { |