Sponsored Content
Top Forums Programming How to write in other language in text/xml file by reading english text/xml file using C++? Post 303018323 by SA_Palani on Monday 4th of June 2018 01:12:20 AM
Old 06-04-2018
How to write in other language in text/xml file by reading english text/xml file using C++?

Hello Team,

I have 2 files.one contains english text and another contains Japanese. so i have to read english text and replace the text with Japanesh text in third file.

Basically, I need a help to write japanese language in text/xml file.I heard wstring does this.Not sure how do i write code.Not only japanese but also there 11 more languages[French/CHinesh,swedish,turkey,italy,....] Hoping that if i complete one language remaining may be easy to complete.

I really looking forward your help at the earliest moment.Thank you.
Regards,

Senthil Andavar
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Plz Help To convert xml file to text file using bourn shell scripts

If someone out there could help me out with this problem. I would really appreciate it. I am trying to convert xml into text file(fixed length) using Unix Borne shell scripts. My xml file: <root> <header_rec recordtype="00"> <record_id>00</record_id> <country_code>AK></country_code>... (0 Replies)
Discussion started by: ram2s2001
0 Replies

2. Shell Programming and Scripting

reading and searching xml element text in script

well i have this xml file here: this file is called filereader.xml <?xml version="1.0" encoding="UTF-8"?> <file> <file1> <filecopy>thefile.txt</filecopy> <filecopy>thefile2.ppt</filecopy> </file1> </file> hi..i got this problem....hmm how do i write a... (6 Replies)
Discussion started by: forevercalz
6 Replies

3. Shell Programming and Scripting

reading and searching xml element text in script

well i have this xml file here: this file is called filereader.xml <?xml version="1.0" encoding="UTF-8"?> <file> <file1> <filecopy>/new/test/thefile.txt</filecopy> <filecopy>/new/test/thefile2.ppt</filecopy> </file1> </file> i need to write the script that search for the Bold text... (2 Replies)
Discussion started by: forevercalz
2 Replies

4. Shell Programming and Scripting

How to extract text from xml file

I have some xml files that got created by exporting a website from RedDot. I would like to extract the cost, course number, description, and meeting information. <?xml version="1.0" encoding="UTF-16" standalone="yes" ?> - <PAG PAG0="3AE6FCFD86D34896A82FCA3B7B76FF90" PAG3="525312"... (3 Replies)
Discussion started by: chrisf
3 Replies

5. Shell Programming and Scripting

KSH - help needed for creating a script to generate xml file from text file

Dear Members, I have a table in Oracle DB and one of its column name is INFO which has data in text format which we need to fetch in a script and create an xml file of a new table from the input. The contents of a single cell of INFO column is like: Area:app - aam Clean Up Criteria:... (0 Replies)
Discussion started by: Yoodit
0 Replies

6. Shell Programming and Scripting

Filter a .kml file (xml) with data set from text file

I have a .kml file. So I want filter the .kml to get only the tags that have this numeric codes that they are in a text file 11951 11952 74014 11964 11965 11969 11970 11971 11972 60149 74018 74023 86378 11976 11980 11983 11984 11987 (5 Replies)
Discussion started by: pcoj33
5 Replies

7. Shell Programming and Scripting

Get extract text from xml file

Hi Collegue, i have a file say a.xml. it has contents <bpelFault><faultType>1</faultType><genericSystemFault xmlns=""><part name="payload"><v2:Fault... (10 Replies)
Discussion started by: Jewel
10 Replies

8. UNIX for Dummies Questions & Answers

Reading XML file and print the values in the text file using Linux shell script

hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file <sequence> <Filename>aldorzum.doc</Filename> <DivisionCode>US</DivisionCode> <ContentType>Template</ContentType> <ProductCode>VIMZIM</ProductCode> </sequence>... (1 Reply)
Discussion started by: sravanreddy
1 Replies

9. UNIX for Dummies Questions & Answers

Reading Xml file and print the values into the text file in columnwise?

hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file <sequence> <Filename>aldorzum.doc</Filename> <DivisionCode>US</DivisionCode> <ContentType>Template</ContentType> <ProductCode>VIMZIM</ProductCode> </sequence>... (4 Replies)
Discussion started by: sravanreddy
4 Replies
MAKE-LINGUA-IDENTIFY-LANGUAGE(1p)			User Contributed Perl Documentation			 MAKE-LINGUA-IDENTIFY-LANGUAGE(1p)

NAME
make-lingua-identify-language - creates language modules for Lingua::Identify SYNOPSIS
make-lingua-identify-language Language-Tag Language-Name file1 [file2 ...] or make-lingua-identify-language -d TAG1-LANGUAGE1/ [TAG2-LANGUAGE2/ ...] or make-lingua-identify DESCRIPTION
Creates language modules to be used by Lingua::Identify. After creating the modules, you still have to install them. Please note that this script is still at an early stage. Please do not even look at the code... Without parameters, make-lingua-identify-language assumes mode -d and goes through all the directories in the current one. This is useful to be used in a directory where you something like this: . |-- en-english | `-- english.txt |-- fr-french | `-- french1.txt | `-- french2.txt `-- pt-portuguese `-- portuguese.txt OPTIONS -d Directory mode. Each parameter passed should be a directory whose name must be of the form tag-name (e.g., en-english/ ). Each of the directories passed should contain text files that can be used to train Lingua::Identify. -D Debug mode. Only for development. -h Display help and exit. -v Show version and exit. -verbose Verbose mode. -locale="<locale>" Set a specific locale. This way your text will be all lowercased before analysed. META.yml "META.yml" files are not parsed as other files, they are ignored. In directory mode ("-d" switch), "META.yml" files are checked for info on languages codes and sets. Here's a simple "META.yml" for you to put in your directories: two_letter_code: pt three_letter_code: por sets: spoken_in_portugal With that, the language will be identified with the two letter code "pt" or the three letter code "por"; it will also be in the set ":spoken_in_portugal". CONTRIBUTING WITH NEW LANGUAGES
Please do not contribute with modules you made yourself. It's easier to contribute with unprocessed text, because that allows for new versions of Lingua::Identify not having to drop languages down in case I can't contact you by that time. Use make-lingua-identify-language to create a new module for your own personal use, if you must, but try to contribute with unprocessed text rather than those modules. SEE ALSO
Lingua::Identify(3), langident(1) A linguist and/or a shrink. The latest CVS version of "Lingua::Identify" (which includes make-lingua-identify) can be attained at http://natura.di.uminho.pt/natura/viewcvs.cgi/Lingua/Identify/ ISO 639 Language Codes, at http://www.w3.org/WAI/ER/IG/ert/iso639.htm AUTHOR
Jose Alves de Castro, <cog@cpan.org> COPYRIGHT AND LICENSE
Copyright 2004-2005 by Jose Alves de Castro This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-01-02 MAKE-LINGUA-IDENTIFY-LANGUAGE(1p)
All times are GMT -4. The time now is 02:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy