How To Convert A Text To Utf-8

I just find the below URL , it shows how to convert file to utf-8 , but it need to check the current encoding first , would advise how can I convert a file to utf-8 without checking the coding first ? thanks

http://ask.xmodulo.com/change-charac...ile-linux.html


Similar Content



Converting Ppdf Files To Jpg Files

I have just downloaded imagemagick and when I try to convert a pdf file to a jpg file. I get the message no such file or directory. The file I want to convert is in Home/Downloads

Convert Txt To 3 Column Html

I have a server sending me a plain text email every day, reporting the below parameters. Its reading them from a text file, and sending them to my email.

How can convert this to a three column html table and send that?

Code:
Sync Total: 1 directory, 4 files, 0 symlinks
---------------------------------
Host Name: host name here
---------------------------------
Group Name: group name here
---------------------------------
Disk Usage: 37%
---------------------------------
CPU Usage: 78%
---------------------------------
Memory Usage: 11%
---------------------------------
Temperatu  44.9'C
---------------------------------
Local IP: 192.168.0.115
---------------------------------
Public IP: public ip here
---------------------------------
Tunnel Port: 5001
---------------------------------
Tunnel Status:
Fri Mar 6 06:23:00 EET 2015 opening reverse tunnel from my_host_he 5001 to 127.0.0.1:22
---------------------------------

Thanks

Is There An Easier Way To Convert Vobsub Filees To Srt

hello,

I was using a program called avidemux and in the Tools menu there is a tool to convert a vobsub file to a srt file. Unfortunately, it requires me to type the characters in the graph. It was tiring and tedious and I didn't bother finishing it.

Is there an easier way to this conversion without interaction from me?

Thanks

Convert FAT32 To NTFS Without Format.

Hello.
How can I Convert FAT32 to NTFS without format? In windows I can use below command and it work very nice but how about Linux?

convert Drive: /FS:NTFS

Thanks.

How To Convert Wlmp To Mp4

I need to convert a wlmp file to mp4 but I can't figure out how. I use ubuntu 14.04

Headless Libreoffice Doesn't Create File

I am trying to convert a PDF document from an Excel and PowerPoint document. I installed it and ran the command. It gives no warning.. Just doesn't create a new PDF document. I've successfully done this before, but I think it was a different server. I've checked file permissions, but don't think it is the issue (I've tried as a normal user and as root).

I could convert doc, docx, and txt files, but not xls, xlsx, ppt, and pptx files.

Thoughts why? Is there a verbose option or a log file which I could check for clues?

Thank you


Code:
yum -y install libreoffice-headless libreoffice-writer

Code:
Package 1:libreoffice-headless-4.0.4.2-14.el6.x86_64 already installed and latest version
Package 1:libreoffice-writer-4.0.4.2-14.el6.x86_64 already installed and latest version

Code:
libreoffice --headless -convert-to pdf myfile.xlsx

How To Convert Iso File To Burn To USB (don't Even Know How To Mount)

I'm a total total noob who is trying to download Linux Mint on a Mac OS X using a USB drive. I know there is some way to go into terminal and convert the iso file but I don't know how.

Here's the things I have tried so far: 1. sudo dd bs=4M if=[linuxmint-17.1-cinnamon-64bit.iso] of=/dev/disk2s1 (result: dd: bs: illegal numeric value)

~/path/to/Users/[my name]/linuxmint-17.1-cinnamon-64bit.img ~/path/to/Users/[my name]/linuxmint-17.1-cinnamon-64bit.iso -bash: /Users/[my name]/path/to/Users/[my name]/linuxmint-17.1-cinnamon-64bit.img (result: No such file or directory)
Maybe for #1 the "/dev/disk2s1" part is wrong? How do I find the number for the USB that goes after "dev/sd"? (I can only find "dev/disk2s1").

I have also tried to just mount/unmount the USB and drag the iso file into source/destination, to no avail.

Thanks so much!

Convert Javascript To Shell Script

i have a javascript code and i want to convert it into bash or shell script code to run in linux machine

document.onkeydown = function (e) {
if(e.which == 9){
return false;
}
}

thanks in advance

Konqueror Drag & Drop Results In Bad Text File Encoding

Ladies & Gents

So in the process of coping some text out of html files in konqueror into kwrite I discovered that it will drag and drop the text after it is selected. The problem is that when I try to open the file saved in kwrite it is in a strange encoding that is not readable. There are a lot of these files that are now corrupt. Does anybody know how to re-encode the files so I don't have to regenerate them

Thanks

Inquiry:How To Convert .wav Sound Files To .gsm Format With Sox Utility

Dear All
Can you please do me favor and let me know how can I convert .wav sound files to .gsm format as I have an application for this usage ? Please be informed that I have made use of the sox utility for this purpose , as the followings , but it didn't get through :
#sox FR00003.wav -r 8000 -c 1 FR0003.gsm resample -ql
Can you please let me know what is the problem in my case ?
Regards
H.Motamedi