Sponsored Content
Top Forums UNIX for Dummies Questions & Answers French characters in postfix/sendmail Post 302915669 by vbe on Thursday 4th of September 2014 08:35:20 AM
Old 09-04-2014
These characters depend on the encoding of your system... I suggest for a atart that you look at the manpages of locale command, because its not what I would call obvious.. I regularly have to fight with data that we receive with erroneous characters because they do exist in french but have been produced with swiss-german keyboard/layout and so give a totally different result...
(Im am talking of what I do now... on AIX 7.1 ...may be different on LINUX)
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Postfix Problem under mailx/sendmail command

Update: Problem solved with this command: /opt/soc/bin/postfix-setup ================================ Hi, I am trying the following mailx command: sadm@edwardwi-z:/etc$ mailx ewijaya@gmail.com Subject: test foo . . EOT But it gives the following error ... (0 Replies)
Discussion started by: monkfan
0 Replies

2. Linux

Migrating from SENDMAIL on SUN SOLARIS to POSTFIX on Linux

Migrating from sendmail on SUN Solaris to POSTFIX on Linux. I have been asked to migrate our sendmail to postfix on Linux and would appreciate and information. Hints and tips on the process involved. Perhaps any links to useful site or documentation that you may know about. Many Thanks (2 Replies)
Discussion started by: Andrek
2 Replies

3. UNIX for Dummies Questions & Answers

postfix queue filling up (from sendmail?)

What is filling up my postfix queue (/var/spool/postfix/deferred/)? I had a perl script running via crontab to monitor my IP connection and send me a mail via sendmail. Now I have a huge queue of emails I keep getting. I've removed the crontab and the script. If I clear out... (0 Replies)
Discussion started by: kumakuma
0 Replies

4. Shell Programming and Scripting

Replacing French special characters

Hi, I have tonnes of .txt files that are written in French. I need to replace the French special characters, however, with English equivalents (e.g. é -> e and ç -> c). I have tried this --- #!/bin/bash # Convert French characters to normal characters # Treat each of the files exec... (4 Replies)
Discussion started by: BlueberryPickle
4 Replies

5. OS X (Apple)

postfix queue filling up (from sendmail?)

What is filling up my postfix queue (/var/spool/postfix/deferred/)? I had a perl script running via crontab to monitor my IP connection and send me a mail via sendmail. Now I have a huge queue of emails I keep getting. I've removed the crontab and the script. If I clear out... (1 Reply)
Discussion started by: kumakuma
1 Replies

6. HP-UX

Problems with French Characters

I am having a problem with two OSes. One is running windows 2003 and sending XML to a second system running Unix (HP-UX 11i v1). Windows sends XML to the UNIX system fine but then the UNIX system reads the buffer file and turns the french characters into the following: é Ú É ╔ Î ... (3 Replies)
Discussion started by: Redfin
3 Replies

7. UNIX for Dummies Questions & Answers

Mail tranmission issue: Postfix/Sendmail

Hi, I have email that is being routed from one server to another server it seems. The sending server has postfix running and the receiving server has sendmail running. The sendmail status is receiving connection. The sending server cannot seem to reach the receiving server. Error logs state... (0 Replies)
Discussion started by: mojoman
0 Replies

8. Solaris

Replace sendmail with Postfix

Hi, I am assigned to replace sendmail with Postfix in solaris 10. Can anyone please tell what are the steps should be taken like files to backup and what are the configurations should be taken care and so on??????? Appreciate any help.... (0 Replies)
Discussion started by: bpsunadm
0 Replies

9. UNIX for Dummies Questions & Answers

ACL for postfix or sendmail

Hello, i want to know how to configure a MTA to relay somes domain by IP source, example : toto.com and titi.com can relay with ip sender 10.2.2.0/24 only lulu.com can relay with ip sender 192.168.0.4/32 only all domain can relay with ip sender 172.0.0.5/32 only It's possible with policy... (9 Replies)
Discussion started by: safsound
9 Replies

10. AIX

French Accented characters in xml file comes as numbers

Hello all, I am using AIX 7.1 and whenever xml files with accented French characters are read, for example Name Andree where the first e has accented mark on top, AIX should it as Andrée but it comes as funny number characters for the first e. What do I need to fix this. I want to test with one... (5 Replies)
Discussion started by: pregmi
5 Replies
srchtxt(1)							   User Commands							srchtxt(1)

NAME
srchtxt - display contents of, or search for a text string in, message data bases SYNOPSIS
srchtxt [-s] [-l locale] [ -m msgfile ,...] [text] DESCRIPTION
The srchtxt utility is used to display all the text strings in message data bases, or to search for a text string in message data bases (see mkmsgs(1)). These data bases are files in the directory /usr/lib/locale/locale/LC_MESSAGES (see setlocale(3C)), unless a file name given with the -m option contains a /. The directory locale can be viewed as the name of the language in which the text strings are writ- ten. If the -l option is not specified, the files accessed will be determined by the value of the environment variable LC_MESSAGES. If LC_MESSAGES is not set, the files accessed will be determined by the value of the environment variable LANG. If LANG is not set, the files accessed will be in the directory /usr/lib/locale//C/LC_MESSAGES , which contains default strings. If no text argument is present, then all the text strings in the files accessed will be displayed. If the -s option is not specified, the displayed text is prefixed by message sequence numbers. The message sequence numbers are enclosed in angle brackets: <msgfile:msgnum>. msgfile name of the file where the displayed text occurred msgnum sequence number in msgfile where the displayed text occurred This display is in the format used by gettxt(1) and gettxt(3C). OPTIONS
-s Suppress printing of the message sequence numbers of the messages being displayed. -l locale Access files in the directory /usr/lib/locale/locale/LC_MESSAGES. If -m msgfile is also supplied, lOCALE is ignored for msgfiles containing a /. -m msgfile Access files specified by one or more msgfiles. If msgfile contains a / character, then msgfile is interpreted as a path- name; otherwise, it will be assumed to be in the directory determined as described above. To specify more than one msgfile, separate the file names using commas. text Search for the text string specified by text and display each one that matches. text can take the form of a regular expres- sion; see regexp(5). EXAMPLES
Example 1: Using srchtxt If message files have been installed in a locale named french by using mkmsgs(1), then you could display the entire set of text strings in the french locale (/usr/lib/locale/french/LC_MESSAGES/* ) by typing: example% srchtxt -l french Example 2: Using srchtxt If a set of error messages associated with the operating system have been installed in the file UX in the french locale (/usr/lib/locale/french/LC_MESSAGE/UX ), then, using the value of the LANG environment variable to determine the locale to be searched, you could search that file in that locale for all error messages dealing with files by typing: example% setenv LANG=french; export LANG example% srchtxt -m UX "[Ff]ichier" If /usr/lib/locale/french/LC_MESSAGES/UX contained the following strings: Erreur E/S Liste d'arguments trop longue Fichier inexistant Argument invalide Trop de fichiers ouverts Fichier trop long Trop de liens Argument hors du domaine Identificateur supprim Etreinte fatale . . . then the following strings would be displayed: <UX:3>Fichier inexistant <UX:5>Trop de fichiers ouverts <UX:6>Fichier trop long Example 3: Using srchtxt If a set of error messages associated with the operating system have been installed in the file UX and a set of error messages associated with the INGRESS data base product have been installed in the file ingress, both in the german locale, then you could search for the pat- tern [Dd]atei in both the files UX and ingress in the german locale by typing: example% srchtxt -l german -m UX,ingress "[Dd]atei" ENVIRONMENT VARIABLES
See environ(5) for a description of the LC_CTYPE environment variable that affects the execution of srchtxt. FILES
/usr/lib/locale/C/LC_MESSAGES/* default files created by mkmsgs(1) /usr/lib/locale/locale/LC_MESSAGES/* message files created by mkmsgs(1) ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |Availability |SUNWloc | +-----------------------------+-----------------------------+ SEE ALSO
exstr(1), gettxt(1), locale(1), mkmsgs(1), gettxt(3C), setlocale(3C), attributes(5), environ(5), locale(5), regexp(5) DIAGNOSTICS
The error messages produced by srchtxt are intended to be self-explanatory. They indicate an error in the command line or errors encoun- tered while searching for a particular locale and/or message file. SunOS 5.10 20 Dec 1996 srchtxt(1)
All times are GMT -4. The time now is 02:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy