-/*\r
- * AUTHOR: Pedro Lineu Orso orso@penguintech.com.br\r
- * 1998, 2005\r
- * SARG Squid Analysis Report Generator http://sarg.sourceforge.net\r
- *\r
- * SARG donations:\r
- * please look at http://sarg.sourceforge.net/donations.php\r
- * ---------------------------------------------------------------------\r
- *\r
- * This program is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 2 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.\r
- *\r
- */\r
-\r
-#include "include/conf.h"\r
-\r
-void ccharset()\r
-{\r
-\r
- if(strcmp(CharSet,"Latin2") == 0)\r
- strcpy(CharSet,"ISO-8859-2");\r
-\r
- if(strcmp(CharSet,"Latin3") == 0)\r
- strcpy(CharSet,"ISO-8859-3");\r
-\r
- if(strcmp(CharSet,"Latin4") == 0)\r
- strcpy(CharSet,"ISO-8859-4");\r
-\r
- if(strcmp(CharSet,"Cyrillic") == 0)\r
- strcpy(CharSet,"ISO-8859-5");\r
-\r
- if(strcmp(CharSet,"Arabic") == 0)\r
- strcpy(CharSet,"ISO-8859-6");\r
-\r
- if(strcmp(CharSet,"Greek") == 0)\r
- strcpy(CharSet,"ISO-8859-7");\r
-\r
- if(strcmp(CharSet,"Hebrew") == 0)\r
- strcpy(CharSet,"ISO-8859-8");\r
-\r
- if(strcmp(CharSet,"Latin5") == 0)\r
- strcpy(CharSet,"ISO-8859-9");\r
-\r
- if(strcmp(CharSet,"Latin6") == 0)\r
- strcpy(CharSet,"ISO-8859-10");\r
-\r
- if(strcmp(CharSet,"Windows-1251") == 0)\r
- strcpy(CharSet,"Windows-1251");\r
-\r
- if(strcmp(CharSet,"Koi8-r") == 0)\r
- strcpy(CharSet,"KOI8-R");\r
-\r
- return;\r
-\r
-}\r
+/*
+ * AUTHOR: Pedro Lineu Orso pedro.orso@gmail.com
+ * 1998, 2008
+ * SARG Squid Analysis Report Generator http://sarg.sourceforge.net
+ *
+ * SARG donations:
+ * please look at http://sarg.sourceforge.net/donations.php
+ * ---------------------------------------------------------------------
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
+ *
+ */
+
+#include "include/conf.h"
+
+void ccharset()
+{
+
+ if(strcmp(CharSet,"Latin2") == 0)
+ strcpy(CharSet,"ISO-8859-2");
+
+ if(strcmp(CharSet,"Latin3") == 0)
+ strcpy(CharSet,"ISO-8859-3");
+
+ if(strcmp(CharSet,"Latin4") == 0)
+ strcpy(CharSet,"ISO-8859-4");
+
+ if(strcmp(CharSet,"Cyrillic") == 0)
+ strcpy(CharSet,"ISO-8859-5");
+
+ if(strcmp(CharSet,"Arabic") == 0)
+ strcpy(CharSet,"ISO-8859-6");
+
+ if(strcmp(CharSet,"Greek") == 0)
+ strcpy(CharSet,"ISO-8859-7");
+
+ if(strcmp(CharSet,"Hebrew") == 0)
+ strcpy(CharSet,"ISO-8859-8");
+
+ if(strcmp(CharSet,"Latin5") == 0)
+ strcpy(CharSet,"ISO-8859-9");
+
+ if(strcmp(CharSet,"Latin6") == 0)
+ strcpy(CharSet,"ISO-8859-10");
+
+ if(strcmp(CharSet,"Windows-1251") == 0)
+ strcpy(CharSet,"Windows-1251");
+
+ if(strcmp(CharSet,"Koi8-r") == 0)
+ strcpy(CharSet,"KOI8-R");
+
+ return;
+
+}