Skeeve: automatisches "\r\n" in <TEXTAREA> tag verhinderbar?

Beitrag lesen

Moin!

Das dreht sich zwar hier nicht um Perl, ich zititere dennoch mal aus perldoc perlipc:

Internet Line Terminators

The Internet line terminator is "\015\012".  Under ASCII variants of
Unix, that could usually be written as "\r\n", but under other systems,
"\r\n" might at times be "\015\015\012", "\012\012\015", or something
completely different.  The standards specify writing "\015\012" to be
conformant (be strict in what you provide), but they also recommend
accepting a lone "\012" on input (but be lenient in what you require).
We haven't always been very good about that in the code in this man-
page, but unless you're on a Mac, you'll probably be ok.

Wichtig ist IMHO der erste Satz: >>The Internet line terminator is "\015\012"<<

Es wird also wohl nicht, oder nicht zuverlässig gehen. Du müßtest, um Sicherzugehen, halt in Deinem CGI die Zeichenfolgen entsprechend umsetzen.

-- Skeeve