I am using sed on Arabic file (utf-8 encoding) like bellow:
and all I get is:
I tried change the LANG variable to
but I still get the same "?" output. What is the easiest way to change this without transliterating to English letters?
---------- Post updated at 10:54 AM ---------- Previous update was at 09:54 AM ----------
I solved it.
After setting LANG=en_US.UTF-8, just edit .profile and add these lines:
Under Unix however we had many many many many problems. We had to use Ansi2utf8(), repstr() and XMLval() to prevent "Invalid token" errors. And because we didn't know what the raw XML result was, it allways was a big problem to find the cause of it. (0 Replies)
1. I have a shell script which creates a file using cat command. How can i find what encoding the file follows (e.g. UTF8, ANSI)?
2. I want to convert that file to PC-ANSI format. How can i achieve that?
I am using HP-Unix. (6 Replies)
We are facing a problem with PIPE (|) as a delimiter in one of our FTP flat files.
We are constructing a Flat file in IBM-AIX and this contains various strings delimted by PIPE Symbol and then FTPing this to a Mainframe System
The Mainframe program simply recieves this and FTPs the same... (1 Reply)
I have developed an application in java which sends arabic as well as english messages(SMS). First I deployed the same on windows machine and it sends the messages in both the languages. Due to some performance issue thought of migrating to UNIX. On the unix testing machine, when i tested it out,... (5 Replies)
I want to display Arabic characters in QNX4.
This work was been done by a colleague several years ago but he didn't document his work.
I installed fonts and I got this display (attached).
Please let me know how can correct as per the initial display were working in Arabic (attached).
Thanks... (0 Replies)
Hi,
i have a file which show text on window like,
insert into test values('اسيل للخدمات عبر الأثير');
but when i open this file in solaris it don't show like
insert into test values('اسيل للخدمات عبر الأثير');
i also want to see the line same as it is on windows
kindly help me (3 Replies)
Hi,
I have searched in all installation cds for arabic packages but couldn't find it.
1. Is there any other way to download arabic package?
2. Does we need to reboot the system after installing package?
3. I don't want to reboot the system so is there any service to restart to make the... (2 Replies)
Hi,
I am beginner to Unix.
My requirement is to validate the encoding used in the incoming file(csv,txt).If it is encoded with UTF-8 format,then the file should remain as such otherwise i need to chnage the encoding to UTF-8.
Please advice me how to proceed on this. (7 Replies)
Hi all!!
I´m using command file -i myfile.xml to validate XML file encoding, but it is just saying regular file . I´m expecting / looking an output as UTF8 or ANSI / ASCII
Is there command to display the files encoding?
Thank you! (2 Replies)