Sponsored Content
Top Forums Shell Programming and Scripting Characterset conversion problem using iconv command Post 302637095 by sivakumarl on Tuesday 8th of May 2012 10:44:52 AM
Old 05-08-2012
Network Characterset conversion problem using iconv command

Hi Friends,

I am not able to conver character set from UTF-8 to IBM-284 throwing an error "cannot open convertor" . Could you please help me how to get out of this error.

Below command is working fine

Code:
iconv -f ISO8859-15 -t UTF-8 fromfile.txt > tofile.txt

But the below command is not working


Code:
iconv -f UTF-8 -t ibm-284 fromfile.txt > tofile.txt


Please help me friends , i am struggling from last one week.

Thanks
Siva.

Moderator's Comments:
Mod Comment edit by bakunin: another two pairs of my wealth of [code] and [/code]-tags given to charity. Please, prevent me from poverty, bring your own tags to the party

Last edited by bakunin; 05-08-2012 at 11:53 AM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Conversion Problem

hi, i am reading a string values from a file.the values are 2000 20000 300 10 5000 now retrieving each value one by one and printing if they are greater than 1000. i use this statement for the same (in perl script) if ($_ gt 1000){ print $_ } but its now prininting all... (3 Replies)
Discussion started by: vivekshankar
3 Replies

2. Shell Programming and Scripting

decimal value for particular characterset

Hi, I need some help to get decimal value of some particluar character set for e.g. in windows-1251 characterset ж --> 230 Please help and suggest way to achive same. (7 Replies)
Discussion started by: peeyushgehlot
7 Replies

3. Shell Programming and Scripting

Help with iconv command

Hi , I am using iconv command to convert a file in UTF-16 format to UTF-8 format. This command will work for few files but for some showing an error as bad input character. But if i copy the contents of the file for which it is showing "bad input character" to a new file and perform the... (0 Replies)
Discussion started by: Shruthi8818
0 Replies

4. UNIX for Dummies Questions & Answers

Help with iconv command

Hi , I am using iconv command to convert a file in UTF-16 format to UTF-8 format. This command will work for few files but for some showing an error as bad input character. But if i copy the contents of the file for which it is showing "bad input character" to a new file and perform the... (2 Replies)
Discussion started by: Shruthi8818
2 Replies

5. AIX

Installing Converter files for iconv conversion

Hi Friends, I need to install two converter packages UTF-8_IBM-284 and UTF-8_IBM-500 in the location /usr/lib/nls/loc/iconv/* or /usr/lib/nls/loc/iconvTable/* . Could you please let me know how to get this converter files. Thanks in Advance, Siva. (1 Reply)
Discussion started by: sivakumarl
1 Replies

6. Shell Programming and Scripting

Help with command iconv

I need to convert a utf16 file to utf8. When i use the iconv command to do so it gives an error saying invalid function. When I ran the iconv -l function it did not list the utf16 and utf8 as part of its internal table. Is there anyway I can add these encodings in the library? Is there any other... (3 Replies)
Discussion started by: gaun
3 Replies

7. Shell Programming and Scripting

File conversion problem

To convert file epcdic to ascill format,i am using below code.Getting some junk characters in output file.not sure what the issue is.Please correct if below command is wrong. DD conv=ascii if=filename of =output_filename. (2 Replies)
Discussion started by: srivalli
2 Replies

8. AIX

Iconv: conversion IBM-852 to UTF8 : which filesets to be installed ?

Hello. We have to make conversion from ibm-852 to UTF-8 (using iconv). We already installed bos.iconv.iso2, but I suppose another fileset is missing : # echo toto | iconv -f UTF-8 -t IBM-852 iconv: 0791-004 cannot open converter I know I can make this conversion from IBM-852 to UTF-8... (2 Replies)
Discussion started by: stephnane
2 Replies

9. UNIX for Beginners Questions & Answers

Explain iconv command

I have a requirement to remove all non-ascii characters from a fixed length file. I used the below command which is removing special characters but somehow the total record length is being truncated to one space less. If it is a multi-byte string then many characters at the end are being truncated.... (8 Replies)
Discussion started by: eskay
8 Replies
sylseg-sk(1)							   USER COMMANDS						      sylseg-sk(1)

NAME
sylseg-sk - segments a Slovak words in to the sylables SYNOPSIS
sylseg-sk [--best] [--color] [--dl debug level] [--help] [--ofile <file_name>] [<input_file>] DESCRIPTION
The sylabic segmentation is esential for some linguistic or speech recognition applications. Depending on the language either rule based or statistical approach is beying used. For Slovak the statistical approach seems to be more suitable. sylseg-sk implements one of the statistical approaches for the syllabic segmentaion. Each input word is segmented into the syllables. The several possible segmentations are generated and sorted by the likelihood. If no input file is specified, the standard input is expected. If input file is used then the output is written in to the file as well. The filename is input filename with the extension ".syllables". The input output code page is ISO 8859-2. To use it with different CP use some CP convertor and pipes. For example to have input and output in UTF-8 use (for interactive use): filterm UTF8-iso2 iso2-UTF8 sylseg-sk or (for batch processing) iconv -f UTF-8 -t ISO_8859-2 | sylseg- sk | iconv -f ISO_8859-2 -t UTF-8 Performance of the syllabic segmentation depend on the used statistics. To improve the quality of the segmentaion is possible to train the better system with the sylseg-sk-training tool and replace the original file located in /usr/share/sylseg_sk/sylseg-sk.stats The design of the sylseg-sk is language independent. With retrained statistics it theoreticaly should work for any language. OPTIONS
--best Print the best result only. --color Enable color output. --dl 1..5 Set the debug level. Control the amount of displayed information The debug level 0 displays nothing. The maximum level 5 displays full debugging report. The default debug level is 1. --help display a short help text --ofile <file_name> Write output also in to given file. EXAMPLES
Use standard input and debug level 3: sylseg-sk --dl 3 Process all the from file aaa.txt and print just the best segmentation: sylseg-sk --best aaa.txt EXIT STATUS
sylseg-sk returns a zero if it succeeds to process all the input words AUTHOR
Jozef Ivanecky (dodo (at) kanoistika.sk) SEE ALSO
sylseg-sk-training(1), filterm(1), iconv(1), konwert(1) version 0.5 December 1, 2006 sylseg-sk(1)
All times are GMT -4. The time now is 01:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy