Sponsored Content
Top Forums Shell Programming and Scripting Create .nfo file in ISO-8859-1 or UTF-8 Post 302989285 by Chubler_XL on Tuesday 10th of January 2017 09:36:46 PM
Old 01-10-2017
Try:

Code:
iconv -f utf8 -t CP437 sample.nfo -o sample2.nfo


Last edited by Chubler_XL; 01-10-2017 at 10:48 PM..
 

10 More Discussions You Might Find Interesting

1. Tips and Tutorials

Create a Solaris Jumpstart from iso

The Solaris 9 and later CD ISO images are laid out differently than previous versions of the ISO images for Solaris. If you just want to build a jumpstart and can afford the bandwidth to do so, download the Solaris DVD and use that instead. You don't need to do any of this with the DVD iso. ... (0 Replies)
Discussion started by: reborg
0 Replies

2. Shell Programming and Scripting

How to create iso file according configuration file?

Hi folks, I have the following configuration file,which contains list of directories: /tmp> cat utils.conf Backup CPSync Change_Listener_Port Create_Database Deinstall Install_CPPlugin Project_migrator I have the following command in my ksh program: mkisofs -l -L -R -V ${PACK_NAME}... (1 Reply)
Discussion started by: nir_s
1 Replies

3. Shell Programming and Scripting

Parse XML file encoded in ISO-8859-1

Dear Friends, I have an XML file that's encoded in ISO-8859-1. I have some European characters coming in from 2 fields (Name, Comments) in the XML file. Can anyone suggest if there are any functions in Unix to read those characters? Using shell programming, can I parse this xml file? Please... (0 Replies)
Discussion started by: madhavim
0 Replies

4. Solaris

Create an ISO image of whole system

Hi All, Please help me with this. My plan is to create an ISO image of my current solaris 8 OS.Because we use a stripped out version of solaris 8 which is different than the standard one in CD. Will dd command will do ? My idea is to create a VMware image from iso file and play it in... (6 Replies)
Discussion started by: Jartan
6 Replies

5. Shell Programming and Scripting

mkisofs to create iso

Hi all, I got the following problem. I run this command. mkisofs -o mynew.iso -l -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table base images isolinux pc_doc and I get all files from base, images, isolinux and pc_doc in the root dir of the iso. I want a... (2 Replies)
Discussion started by: stinkefisch
2 Replies

6. Red Hat

how to re-create kick start bootable ISO

Hi All, I want to create kick start bootable ISO file. I have Centos 5.4 ISO and customized ks.cfg file. Now I need to recreate ISO with ks.cfg and content of existing ISO. During installation, it automatically should pick the kick start file and need to proceed with the installation. ... (0 Replies)
Discussion started by: kalpeer
0 Replies

7. Red Hat

How to create a bootable ISO from running Linux box?

Hi All, I have one query on creating bootable ISO. I have installed Centos 5.6 and done few configuration changes which is needed for deploying my App. Later I have deployed my app. Now Centos is up and running in a dedicated box along with my app. Now I want to create the... (3 Replies)
Discussion started by: kalpeer
3 Replies

8. Linux

Help to Convert file from UNIX UTF-8 to Windows UTF-16

Hi, I have tried to convert a UTF-8 file to windows UTF-16 format file as below from unix machine unix2dos < testing.txt | iconv -f UTF-8 -t UTF-16 > out.txt and i am getting some chinese characters as below which l opened the converted file on windows machine. LANG=en_US.UTF-8... (3 Replies)
Discussion started by: phanidhar6039
3 Replies

9. Solaris

How to Create ISO Image of a CD/DVD in Solaris 10?

Hi Solaris 10 Experts, How can I create an ISO Image of a CD/DVD from the cdrom to a temporary directory, and then use that image to burn it on a blank DVD in the cdrom in Solaris 10 1/13 OS environment? Please provide me with an example. With best regards, SS (1 Reply)
Discussion started by: ssabet
1 Replies

10. Shell Programming and Scripting

How to create a file from output of vertica table query in UTF-8 format?

Hello, In my shell script, I extract table data from HP Vertica DB into a csv file using vsql -c command. But the problem is the file getting created is in binary format and hence some of the data becomes unreadable which has chinese characters as part of data. file -i filename.csv - gives... (2 Replies)
Discussion started by: Dharmatheja
2 Replies
iconv_646(5)                                            Standards, Environments, and Macros                                           iconv_646(5)

NAME
iconv_646 - code set conversion tables for ISO 646 DESCRIPTION
The following code set conversions are supported: +-----------------------------------------------------------------------+ | Code Set Conversions Supported | +----------+---------------+--------------+--------+--------------------+ | Code | Symbol |Target Code |Symbol | Target Output | +----------+---------------+--------------+--------+--------------------+ |ISO 646 | 646 |ISO 8859-1 |8859 |US ASCII | +----------+---------------+--------------+--------+--------------------+ |ISO 646de | 646de |ISO 8859-1 |8859 |German | +----------+---------------+--------------+--------+--------------------+ |ISO 646da | 646da |ISO 8859-1 |8859 |Danish | +----------+---------------+--------------+--------+--------------------+ |ISO 646en | 646en |ISO 8859-1 |8859 |English ASCII | +----------+---------------+--------------+--------+--------------------+ |ISO 646es | 646es |ISO 8859-1 |8859 |Spanish | +----------+---------------+--------------+--------+--------------------+ |ISO 646fr | 646fr |ISO 8859-1 |8859 |French | +----------+---------------+--------------+--------+--------------------+ |ISO 646it | 646it |ISO 8859-1 |8859 |Italian | +----------+---------------+--------------+--------+--------------------+ |ISO 646sv | 646sv |ISO 8859-1 |8859 |Swedish | +----------+---------------+--------------+--------+--------------------+ CONVERSIONS
The conversions are performed according to the following tables. All values in the tables are given in octal. ISO 646 (US ASCII) to ISO 8859-1 For the conversion of ISO 646 to ISO 8859-1, all characters in ISO 646 can be mapped unchanged to ISO 8859-1 ISO 646de (GERMAN) to ISO 8859-1 For the conversion of ISO 646de to ISO 8859-1, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | ISO 646de | ISO 8859-1 | ISO 646de | ISO 8859-1 | |100 | 247 |173 |344 | |133 | 304 |174 |366 | |134 | 326 |175 |374 | |135 | 334 |176 |337 | +---------------+----------------+----------------+---------------+ ISO 646da (DANISH) to ISO 8859-1 For the conversion of ISO 646da to ISO 8859-1, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | ISO 646da | ISO 8859-1 | ISO 646da | ISO 8859-1 | |133 | 306 |173 |346 | |134 | 330 |174 |370 | |135 | 305 |175 |345 | +---------------+----------------+----------------+---------------+ ISO 646en (ENGLISH ASCII) to ISO 8859-1 For the conversion of ISO 646en to ISO 8859-1, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------+ | Conversions|Performed | | ISO 646en | ISO 8859-1 | |043 |243 | +-----------------------------+-----------------------------+ ISO 646es (SPANISH) to ISO 8859-1 For the conversion of ISO 646es to ISO 8859-1, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | ISO 646es | ISO 8859-1 | ISO 646es | ISO 8859-1 | |100 | 247 |173 |260 | |133 | 241 |174 |361 | |134 | 321 |175 |347 | |135 | 277 | | | +---------------+----------------+----------------+---------------+ ISO 646fr (FRENCH) to ISO 8859-1 For the conversion of ISO 646fr to ISO 8859-1, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | ISO 646fr | ISO 8859-1 | ISO 646fr | ISO 8859-1 | |043 | 243 |173 |351 | |100 | 340 |174 |371 | |133 | 260 |175 |350 | |134 | 347 |176 |250 | |135 | 247 | | | +---------------+----------------+----------------+---------------+ ISO 646it (ITALIAN) to ISO 8859-1 For the conversion of ISO 646it to ISO 8859-1, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | ISO 646it | ISO 8859-1 | ISO 646it | ISO 8859-1 | |043 | 243 |140 |371 | |100 | 247 |173 |340 | |133 | 260 |174 |362 | |134 | 347 |175 |350 | |135 | 351 |176 |354 | +---------------+----------------+----------------+---------------+ ISO 646sv (SWEDISH) to ISO 8859-1 For the conversion of ISO 646sv to ISO 8859-1, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | ISO 646sv | ISO 8859-1 | ISO 646sv | ISO 8859-1 | |100 | 311 |140 |351 | |133 | 304 |173 |344 | |134 | 326 |174 |366 | |135 | 305 |175 |345 | |136 | 334 |176 |374 | +---------------+----------------+----------------+---------------+ FILES
/usr/lib/iconv/*.so conversion modules /usr/lib/iconv/*.t conversion tables /usr/lib/iconv/iconv_data list of conversions supported by conversion tables SEE ALSO
iconv(1), iconv(3C), iconv(5) SunOS 5.10 28 Apr 1997 iconv_646(5)
All times are GMT -4. The time now is 11:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy