Saving or writing files in unicode - IS0-8859-5


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Saving or writing files in unicode - IS0-8859-5
# 1  
Old 11-12-2008
Saving or writing files in unicode - IS0-8859-5

Hi,

I have problems in saving/writing files that contains Unicode characters - to be specific ISO-8859-5. The source file contains correct Unicode characters, should I add specific unix scripts before writing the said file?

Many thanks,

ahrong09
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Create .nfo file in ISO-8859-1 or UTF-8

Hey guys, I have a little problem, Let's say I create this script : #!/bin/sh nfo_file="/home/admin/info.nfo" echo "▒▒█ Hello █▒▒" > $nfo_fileIt seems to be okay : cat /home/admin/info.nfo ▒▒█ Hello █▒▒file -bi /home/admin/info.nfo text/plain; charset=utf-8But when I open it in a... (7 Replies)
Discussion started by: antoinelomb
7 Replies

2. Shell Programming and Scripting

Saving files with file name as output

Hi, i need help with a file creation of an output program. I've got a program that with #find creates an output for each files in a directory. If i give this command : -o spec$(date -u +%Y%m%dt%H%M) it creates just one file, overwriting all the others since it is the creation date .... (2 Replies)
Discussion started by: Board27
2 Replies

3. Shell Programming and Scripting

Input not saving correctly in both files

If the user inputs two variants separated by a comma, the below command is supposed to write both variants to the GJ-53.txt and then to out.txt. Both are written to the GJ-53.txt, however only one is written to out.txt and I'm not sure why. Thank you :). gjb2() { printf "\n\n" ... (1 Reply)
Discussion started by: cmccabe
1 Replies

4. Shell Programming and Scripting

Generate and copy files in UNICODE format from Linux to Windows

Hi,We have an interface which extracts data from database tables, spool the records into text files, and copy those files using SFTP to a windows server location. The target system loads these files into its database using some DTS packages in SQL Server. This interface of exporting text files... (13 Replies)
Discussion started by: urjagadeesh
13 Replies

5. Shell Programming and Scripting

Saving files

Hi all, I need to save my files at c, d or any drive location via script. Requirement. Say for example i have 10 files at location /usr/bi/ci location. 10 files naming a.ksh b,ksh c.ksh and so on I want to save the files and its content at some location (any drive on local... (4 Replies)
Discussion started by: j_panky
4 Replies

6. Shell Programming and Scripting

parsing txt file, saving graphics files

hi everyone, i am a newbie in shell programming. and i want to simply go through a text file that contains 3 "columns", split by ';' customerID ; link-to-contract ; save-as-filename so an example would simply look like this now i want to loop through every line, and save the file from... (3 Replies)
Discussion started by: Confidence
3 Replies

7. Shell Programming and Scripting

recursive saving of files and folders

Hi all I have a bash script, that loops through a folders files and all subfolders for .shtml files. It looks for a string and replaces it, creating a backup of the original file. This all works great, but I'd like, when the backup is done, that the files are then also created in their... (4 Replies)
Discussion started by: terrid
4 Replies

8. Shell Programming and Scripting

finding files with unicode chars in the filename

I'm trying to check-in a repository to svn -- but the import is failing because some files waaaay down deep in some graphics-library folder are using unicode characters in the file name - which are masked using the ls command but picked up when piping output to more: # ls -l 1914* -rwxrwxr-x 1... (2 Replies)
Discussion started by: mshallop
2 Replies

9. 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

10. Programming

How to display unicode characters / unicode string

I have a stream of characters like "\u8BBE\u5907\u7BA1" and i want to display it. I tried following things already without any luck. 1) printf("%s",L("\u8BBE\u5907\u7BA1")); 2) printf("%lc",0x8BBE); 3) setlocale followed by fwide followed by wprintf 4) also changed the local manually... (3 Replies)
Discussion started by: jackdorso
3 Replies
Login or Register to Ask a Question
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)