Search Results

Search: Posts Made By: Shruthi8818
3,496
Posted By Shruthi8818
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...
7,381
Posted By Shruthi8818
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...
799
Posted By Shruthi8818
Thanks a lot its working
Thanks a lot its working
799
Posted By Shruthi8818
Pattern matching
I have a string abc.sdf.fgh.xml , i want to get the output as xml , that is it should match the delimitor "." (always present in the end)and give me the output of the word present after it.
1,332
Posted By Shruthi8818
After executing this command te problem i am...
After executing this command te problem i am facing is ,
Since my shell script also has UTF keyword its trying to convert that to UTF-8 format and so many unknown files are getting created.
can i...
1,332
Posted By Shruthi8818
To replace a keyword for a number of files in a path
I have to search for a keyword (UTF-16) in xml file and if the keyword is found i have to convert the encoding type in the file to UTF-8 and then replace the keyword inside the file from UTF-16 to...
3,876
Posted By Shruthi8818
Hi, but grep "UTF\-16" filename is not...
Hi,

but grep "UTF\-16" filename
is not fetching any result for me if i try on the xml extension files.

If i try with sed -n '/UTF-16/p' filename it is working for individual file but for a...
3,876
Posted By Shruthi8818
The xml file contains, <?xml version="1.0"...
The xml file contains,
<?xml version="1.0" encoding="UTF-16"?>

here the code should search for this UTF-16 keyword and if found then need to convert the encoding to UTF-8 and then i want to...
3,876
Posted By Shruthi8818
Thanks for the reply. But grep "UTF\-16"...
Thanks for the reply.
But grep "UTF\-16" filename is not fetching result in case of xml extension files it is working fine for text file.
Can you please help me in this.
3,876
Posted By Shruthi8818
But with the use of Grep command i am not able to...
But with the use of Grep command i am not able to locate the keyword.
Please see the code i used according to your suggestion. Inside the directory i am searching i have files with txt,xml,edi,sgml...
3,876
Posted By Shruthi8818
Issue with Sed command
I need to search for a keyword UTF-16 in a list of files if that keyword is found then i need to convert the file to UTF-8 format using iconv command.
After this i should substitute the UTF-16...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 09:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy