Roxen.git/
server/
etc/
modules/
Roxen.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2008-02-15
2008-02-15 23:50:18 by Martin Stjernholm <mast@lysator.liu.se>
c854b67f2b8423fa7ac40e562e9cea0393e485e0 (
8
lines) (+
4
/-
4
)
[
Show
|
Annotate
]
Branch:
5.2
Some fixes.
Rev: server/etc/modules/Roxen.pmod:1.232
1:
// This is a roxen pike module. Copyright © 1999 - 2004, Roxen IS. //
-
// $Id: Roxen.pmod,v 1.
231
2008/02/15 23:
37
:
03
mast Exp $
+
// $Id: Roxen.pmod,v 1.
232
2008/02/15 23:
50
:
18
mast Exp $
#include <roxen.h> #include <config.h>
2814:
switch( test ) { case "edv": case "edv?":
-
report_notice( "Warning: Non 8-bit safe client detected
(%s)
"
,
-
(id?id->client*" ":"unknown client"
)
)
;
+
report_notice( "Warning: Non 8-bit safe client detected
.\n
");
return 0; case "åäö?":
2888:
{ string charset = get_client_charset (åäö);
-
if (function(string:void) f = id && id->set_output_charset)
+
if (function(string
|function
:void) f = id && id->set_output_charset)
switch (charset) { case "iso-2022-jp": f ("iso-2022"); break; case "utf-7": f ("utf-7"); break;