Lang


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Lang
# 1  
Old 10-13-2004
Lang

Hi,

I have LANG set to C.iso88591 what does this value mean and what other options do I have?

The problem is that I am using mailx to send out reports. When the report arrives the email has a lot of details about a charecter set not being supported.

I don't want to have a null value because I'm not sure what else uses this var.

Many thanks,
Neil
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. AIX

Undestanding LANG setting in /etc/environment

Hi All, We had issue with a application which reports process counts in log, application used to log process counts as Integer data type (1500). One fine morning we started seeing process counts in application log as Decimal (1,500). Our UNIX admin did investigate and figured-out that... (5 Replies)
Discussion started by: Aaron Boyce
5 Replies

2. HP-UX

install arabic lang

hi how to install arabic language and set it as default in hpux. also there is any website provide vm for hpunix for testing. (2 Replies)
Discussion started by: drpix
2 Replies

3. Programming

How to do 'export LANG=en" Using C

Hi Could you please help me How to program Linux shell commands using C. I want set Language environment before start a particular application. Example:- export LANG=hi_IN.UTF-8 gedit This will start Localized Hindi( Indian Language) version of the 'gedit', if the Hindi language... (2 Replies)
Discussion started by: Ram Das
2 Replies

4. Ubuntu

LANG=C not English?

On Ubuntu 7.04, why would the "C" LANG parameter not be English: $ LANG=C locale LANG=C LANGUAGE=he_IL:he:en_GB:en LC_CTYPE="he_IL.utf8" LC_NUMERIC="he_IL.utf8" LC_TIME="he_IL.utf8" LC_COLLATE="he_IL.utf8" LC_MONETARY="he_IL.utf8" LC_MESSAGES="he_IL.utf8" LC_PAPER="he_IL.utf8"... (4 Replies)
Discussion started by: dotancohen
4 Replies

5. UNIX for Dummies Questions & Answers

Setting the $LANG info needed

Hello (Very New to UNIX -Solaris 10) I'm trying to set the LANG variable to C but not sure if it's getting set, need some help on this. Currently I have it set to en_GB.UTF-8 I need to set it to C for an install. but when I run set LANG=C and then run echo $LANG its still set to... (2 Replies)
Discussion started by: deedaz
2 Replies

6. UNIX for Dummies Questions & Answers

Where to set the LANG variable

When I login to my AIX server, the LANG variable is automatically being set to En_US. This is causing locale warning messages when I run emacs or perl. The reason seems to be that En_US is not a valid locale (seen by running locale -a). I can change the variable from the command line (export... (3 Replies)
Discussion started by: wvdeijk
3 Replies

7. UNIX for Dummies Questions & Answers

bc arbitrary precision cal lang

Hello all, I don't know ksh that well but when I try to run a simple script using the bc command I get "unexpected '.' ", has any one encouter this or help me. I'm running under redaht 7.2. Here is a simple example: #!/bin/ksh # kilo=`echo "2495 * .25"|bc` if then echo "LESS THEN"... (2 Replies)
Discussion started by: larry
2 Replies
Login or Register to Ask a Question
SARG-REPORTS(1) 					      General Commands Manual						   SARG-REPORTS(1)

NAME
sarg-reports - Daily/Weekly/Monthly squid usage reports creation tool SYNOPSIS
sarg-reports [OPTIONS] DESCRIPTION
This manual page documents briefly the sarg-reports command. sarg-reports is a script written to automate the SARG (a powerful squid log analyzer) reports and log management. Sarg it self, provide to end user a generic interface to create reports based on squid access log (begin of log to current date). sarg-reports is useful because it allow you to easly create and manage Daily, Weekly and Monthly reports. OPTIONS
A summary of options is included below. manual Create Manual report today Create Today report daily Create Daily report weekly Create Weely report monthly Create Monthly report CRONTAB
If you want the reports can be generated automatically insert the following lines (the today report creation time depend mostly of your sarg server load average, tune it): PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 00 08-18/1 * * * sarg-reports today 00 00 * * * sarg-reports daily 00 01 * * 1 sarg-reports weekly 30 02 1 * * sarg-reports monthly REMEMBER: if you use logrotate, configure it to rotate the logs within MONTHLY basis, AFTER sarg-reports created the monthly html report. VARIABLES
Check before using the sarg-reports that the following variables are set to file /etc/sarg/sarg.conf SARG The sarg executable location CONFIG The sarg main configuration file location HTMLOUT Location where will be saved the reports PAGETITLE The title of main index page LOGOIMG Image logo to view in main index page LOGOLINK HTTP web page link of logo DAILY Word 'daily' translation, translate it to your language WEEKLY Word 'weekly' translation, translate it to your language MONTHLY Word 'monthly' translation, translate it to your language EXCLUDELOG1 Exclude text from cron emails (normally, sarg, during cron activity, if it don't find any valid records, EXCLUDELOG2 It will output an error message (usually on 'today' reports). I don't want to be warned by email about this, so, i wrote the 'text' that will be never logged. This is useful to receive email of real problems only. AUTHOR
sarg-reports was written by Ugo Viti <ugo.viti@initzero.it> This manual page was written by Juan Angulo Moreno <juan@apuntale.com>, for the Debian project (but may be used by others). may 17, 2008 SARG-REPORTS(1)