Im migrating a few websites from my old webserver (CentOS-5) to a new server (CentOS6) , one of these websites is multilingual and has a lot of utf8 files(html,php) with different languages (i.e arabic, persian, russian ,etc).
In old server when i do:
I get :
But when i transfer these files to the new server and do the file command again i get this :
And the files will display question marks "????????" when i browse the website!
What should i do to stop the OS to add BOM to these files ?
Moderator's Comments:
Please use CODE tags (not QUOTE tags) when displaying sample input and output as well as when displaying code segments.
In all likelihood, the OS didn't change the files, it is just that the file utility was made smarter to distinguish between different types of C++ program text.
Look at /etc/magic on both systems and see if there is something containing the string "with BOM". It may help you understand why CentOS6 adds that phrase in the output from the file utility. However, since it is a programming language check, the rules file is using might not be in /etc/magic.
Hi All,
When we create a flat file using a PLSQL program , the flat file is
being created in UTF8 format.This file has lot of german characters.When
we use this file to load data into MS SQL Server, the german characters
are coming as junk. When we create a flat file in oracle it is being ... (1 Reply)
In my server migration requirement, I need to compare if one file on old server is exactly the same as the corresponding file on the new server.
For diff and comm, the inputs need to be sorted. But I do not want to disturb the content of the file and need to find byte-to-byte match.
Please... (4 Replies)
Hi All
Can anyone please suggest me how to remove the last byte from a falt file .This is from the last line's last BYTE.
Please suggest me something.
Thank's and regards
Vinay (1 Reply)
Hi experts,
I have a gz file from other system(solaris), which is ftped to our system(solaris).
After gunzip, the file is a xml file and we are using ORACLE built in xml transformiing tool ORAXSL to transform XML to TXT.
Now the issue is we come accross issue regarding UTF8 as below:... (1 Reply)
Hi,
I have a UDP server and client program, and they must run within a program, so I decided two threads, one for UDP server and another for UDP client.
The simple architecture is shown in attachment.
However, I can't send the packets out on the UDP client, no any time message and... (2 Replies)
Hello
I read a lot of post related to this topic, but nothing helped me. :mad:
I'm running a ksh script with subshell what processing some ldap command. I need to check output for possible errors.
#!/bin/ksh
...
readinput < $QCHAT_INPUT |&
while read -p line
do
echo $line
... (3 Replies)
Hello,
I'm facing a strange problem in one of my Debian server, what is happening right now it that I have runned dpkg-reconfigure locales to set en_US UTF-8 so in that way I could use accentuation in my system.
# locale -a
C
en_US.utf8
POSIX
pt_BR.utf8
However, when I create a new... (12 Replies)
Discussion started by: pxb368@motorola
12 Replies
LEARN ABOUT DEBIAN
qvideoob
QVIDEOOB(1) General Commands Manual QVIDEOOB(1)NAME
qvideoob - Qt application to search and play videos on various websites
SYNOPSIS
qvideoob [-h] [-dqv] [-b backends] ...
qvideoob [--help] [--version]
DESCRIPTION
Qt application allowing to search videos on various websites and play them.
Supported websites:
* arte (Arte French and German TV)
* canalplus (Canal Plus French TV)
* cappedtv (Capped.tv demoscene website)
* dailymotion (Dailymotion video streaming website)
* francetelevisions (France Televisions video website)
* ina (INA French TV video archives)
* nolifetv (NolifeTV French video streaming website)
* radiofrance (Radios of Radio France: Inter, Info, Bleu, Culture, Musique, FIP, Le Mouv')
* youjizz (YouJizz pornographic video streaming website)
* youporn (YouPorn pornographic video streaming website)
* youtube (YouTube video streaming website)
OPTIONS --version
show program's version number and exit
-h, --help
show this help message and exit
-b BACKENDS, --backends=BACKENDS
what backend(s) to enable (comma separated)
LOGGING OPTIONS -d, --debug
display debug messages
-q, --quiet
display only error messages
-v, --verbose
display info messages
--logging-file=LOGGING_FILE
file to save logs
-a, --save-responses
save every response
COPYRIGHT
Copyright(C) 2010-2011 Romain Bignon
For full COPYRIGHT see COPYING file with weboob package.
FILES
"~/.config/weboob/backends"
"~/.config/weboob/qvideoob"
SEE ALSO
Home page: http://weboob.org/applications/qvideoob
qvideoob 0.c 04 May 2012 QVIDEOOB(1)