Are there any of your scripts that translate PC1252 to CP437?
Most emails
print Swedish
characters incorrectly. The ones in utf8 work fine, but not the others. Have tried most
html_decode, html2asc etc. but they don't touch the swedish . These lines translate
correctly, so they are everywhere now:
text = text.replace(/\xE5/g,"\x86").replace(/\xE4/g,"\x84").replace(/\xF6/g, "\x94"); text = text.replace(/\xC5/g,"\x8F").replace(/\xC4/g,"\x8E").replace (/\xD6/g,"\x99");
text = text.replace(/\xE5/g,"\x86").replace(/\xE4/g,"\x84").replace(/\xF6/g, "\x94"); text =
text.replace(/\xC5/g,"\x8F").replace(/\xC4/g,"\x8E").replace (/\xD6/g,"\x99");
Are those the *only* transpositions needed for PC1252 to CP437?
Re: Swedish Char
By: Digital Man to Max on Thu Jan 25 2024 11:54:53
text = text.replace(/\xE5/g,"\x86").replace(/\xE4/g,"\x84").replace(/\xF6/g, "\x94"); text =
text.replace(/\xC5/g,"\x8F").replace(/\xC4/g,"\x8E").replace (/\xD6/g,"\x99");
Are those the *only* transpositions needed for PC1252 to CP437?
There are more like etc, but they are the only ones I need, which stand for .
And you're doing these transpositions (in JS) where exactly? There internal message reader is implemented in C++, so, it seems there may be
user cases not covered by your solution.
--
digital man (rob)
Re: Swedish Char
By: Digital Man to Max on Thu Jan 25 2024 13:52:00
And you're doing these transpositions (in JS) where exactly? There internal message reader is implemented in C++, so, it seems there may be user cases not covered by your solution.
--
digital man (rob)
Can't find them all now, but in msglist.js, rss-atom.js are there, now see that it is mostly in files that you did not make,
several locations in DDMsgReader.js as well as files on the web page.
but converts the other way around there, like in 001-forum.ssjs and 002-recent-visitors.xjs
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 371 |
Nodes: | 16 (2 / 14) |
Uptime: | 174:33:55 |
Calls: | 7,915 |
Files: | 12,983 |
Messages: | 5,797,649 |