Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

change-po-charset(1) [debian man page]

CHANGE-PO-CHARSET(1)					      General Commands Manual					      CHANGE-PO-CHARSET(1)

NAME
change-po-charset - change the charset value in content-type header of a gettext po file SYNOPSIS
change-po-charset <charset> FILENAME1 [ FILENAME2 ...] DESCRIPTION
change-po-charset is a simple Perl script, which reads the specified file names, and prints them on standard output, making only the fol- lowing modification. In the first msgstr string sequence it encounters, it changes the "charset" attribute of the Content-Type header to the charset specified as the first parameter. Please note that it does not actually change any character encoding of the contents of the data. It is used by potooledit(1) to fix the content-type header after it recodes the file with iconv(1). SEE ALSO
potooledit(1), iconv(1), msgmerge(1), msgfmt(1). AUTHOR
change-po-charset was written by Marcin Owsiany <porridge@debian.org>. September 21, 2007 CHANGE-PO-CHARSET(1)

Check Out this Related Man Page

ppt2text(1)						      General Commands Manual						       ppt2text(1)

NAME
catppt - reads MS-PowerPoint file and puts its content on standard output SYNOPSIS
catppt [-lV] [-b string ] [-s charset ] [-d charset ] files DESCRIPTION
catppt reads MS-PowerPoint presentations and dumps its content to stdout. OPTIONS
-l list known charsets and exit successfully -bstring slides break string. This string (by default - formfeed) would be output at the end of each slide page. -dcharset` - specifies destination charset name. Charset file has format described in CHARACTER SETS section of catdoc(1) manual page. By default, current locale charset would be used if langinfo support was enabled at the compile time. -scharset - specifies source charset. Typically, PowerPoint files use UNICODE strings with known charsets, but for some reason you may wish to override it. -V outputs version number SEE ALSO
cat(1), catdoc(1), xls2csv(1), strings(1), utf(4), unicode(4) AUTHOR
Alex Ott <alexott@gmail.com> MS-PowerPoint reader Version 0.94.4 ppt2text(1)
Man Page

14 More Discussions You Might Find Interesting

1. Programming

about iconv

I want to use iconv.h to convert some text to another charset. The code is below: #include <stdio.h> #include <stdlib.h> #include <iconv.h> int main() { iconv_t cd; char instr="汉字"; char *inbuf; char *outbuf; unsigned int insize=7; ... (4 Replies)
Discussion started by: yong
4 Replies

2. UNIX for Advanced & Expert Users

A question on using sed or awk

Hi I have a pattern like this. repeating many lines CHANGE #13 TYP:22 CLS: 21 AFN:12 DBA:0x0040a15f OBJ:41142 SCN:0x0000.00036b3e SEQ:1 OP:11.2 CHANGE #15 TYP:32 CLS: 32 AFN:212 DBA:0x0040a15f OBJ:41143 SCN:0x0000.00046b3e SEQ:1 OP:13.3 . And i am trying to do the following: a) I need to get... (2 Replies)
Discussion started by: hare
2 Replies

3. Shell Programming and Scripting

How to change a specific character in a file

Hi, I have a data file with following structure: a|b|c|d|3|f1|f2|f3 a|b|c|d|5|f1|f2|f3|f4|f5 I want to change this data to: a|b|c|d|3|f1;f2;f3 a|b|c|d|5|f1;f2;f3;f4;f5 Data in column 5 tells the number of following fields. All fields delimiter after the 5th column needs to be... (6 Replies)
Discussion started by: sdubey
6 Replies

4. Shell Programming and Scripting

how to change one line in a file?

Suppose I have a file. The content of the file is: Fwf33 #enable_a STH. fwqfw egvega What I want to do is: if "STH" = "YES", do not change it, otherwise, change it to "YES". e.g. if “enable_a ERR” change it to be “enable_a YES” if “enable_a YES” do not change the file. ... (2 Replies)
Discussion started by: lilili07
2 Replies

5. Shell Programming and Scripting

Problem identifying charset of a file

Hi all, My objective is to find out the charset using which a file is encoded. (The OS is SunOs) I have set NLS_LANG to AR8MSWIN1256 and spooled the file. When viewed the file using vi, I saw the following \307\341\321\355\307\326 I then inserted the line containing these codes in a... (3 Replies)
Discussion started by: sridhar_423
3 Replies

6. Shell Programming and Scripting

Trying to send an excel spreadsheet.

And I have to modify this part of the script, I'm not sure what to change the content-type to for this to work, or what else I would need to change here: # This script sends Email acoording to command line arguments. # $1 - file to be attached (full path with name) # $2 - file name as it... (1 Reply)
Discussion started by: NycUnxer
1 Replies

7. AIX

Dynamic $PS1 content on AIX 4.2 ?

I am trying to set a dynamic PS1 that will change its content no matter what the user does. But I am finding that the shell variables I put in it do not get refreshed. One simple example of what I mean : PS1="$HOSTNAME:$USER $PWD > " if the user changes directory, the PWD variable is not... (2 Replies)
Discussion started by: Browser_ice
2 Replies

8. Shell Programming and Scripting

Changing file names with AWK

Dear All, I have some thousands of files in a folder and i need to change those file names without opening the file (no need to change anything in the file content, need to change the file name only). The filenames are as follows: Myfile_name.1_parameter Myfile_name.2_parameter... (6 Replies)
Discussion started by: Fredrick
6 Replies

9. Shell Programming and Scripting

Extract specific content from data and rename its header problem asking

Input file 1: >pattern_5 GAATTCGTTCATGTAGGTTGASDASFGDSGRTYRYGHDGSDFGSDGGDSGSDGSDFGSDF ATTTAATTATGATTCATACGTCATATGTTATTATTCAATCGTATAAAATTATGTGACCTT SDFSDGSDFKSDAFLKJASLFJASKLFSJAKJFHASJKFHASJKFHASJKFHSJAKFHAW >pattern_1 AAGTCTTAAGATATCACCGTCGATTAGGTTTATACAGCTTTTGTGTTATTTAAATTTGAC... (10 Replies)
Discussion started by: patrick87
10 Replies

10. Linux

when SCP, does file content change?

Good day to you all, Just want to check here, i know when scping a file, size might change due to space issue. it might sound silly, but does file content get change too? if so, what kind of situation that might be? (1 Reply)
Discussion started by: ahtat99
1 Replies

11. UNIX for Dummies Questions & Answers

Charsets and encoding details

Hello gurus, I would like to get deep into charset and encoding isse, also tried google it but no luck. Please see bellow My configuration $ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8"... (1 Reply)
Discussion started by: wakatana
1 Replies

12. Red Hat

How to load a charset on RHEL 6.6 ?

Hi all, am running the following code on a RHEL 6.6 box to list which charsets are loaded and which are available: #!/usr/bin/perl -w use strict; use Encode; my @list = Encode->encodings(); my @all_encodings = Encode->encodings(":all"); print "@list\n\n"; print "@all_encodings\n"; ... (3 Replies)
Discussion started by: Fundix
3 Replies

13. UNIX for Beginners Questions & Answers

Convert files to UTF-8 on AIX 7.1

Dears, I have a shell script - working perfectly on Oracle Linux - that detects the encoding (the charset to be exact) of the files in a specified directory using the "file" command (The file command outputs the charset in Linux, but doesn't do that in AIX), then if the file isn't a UTF-8 text... (4 Replies)
Discussion started by: JeanM-1
4 Replies

14. What is on Your Mind?

Climate change anyone?

Hi all together, The US President considers this topic as not serious. Here in Germany there it's taken very serious, made a lot of words, but little action. As far as I am reading now - written here quite clearly ... N.Y. Times - loosing earth or as video with the current state of... (37 Replies)
Discussion started by: stomp
37 Replies