I have a form that have a browse button, convert to ASCII button, cancel button and text area... all i have to do is...? when i click the browse button and choose a folder that have a utf8.txt the file that have utf8 will appear or display into the text area... what i can i do to make this..?
I know this is maybe a basic question while can UTF8 charset include all the language around the world?if it can ,then what is the difference between en_US.UTF8 and zh_CN.UTF8? what is the difference between en_US.UTF8 and zh_CN.UTF8 in the centos locale setting?
I have a unicode utf8 file containing filenames. I wish to process them with very basic scripts but the unicode is an issue. A script to create symlinks to all the filenames and put them in a dir
Code:
#!/bin/bash while read line do echo "${line}"
[code]...
Any special way to address the unicode filenames? The links do not come out right. I am using Mac OSX GNU bash 3.2.48.
i need a php script to format and display a select amount of text from a file or a cron job that'll do it (with grep etc) and out put to a file but whatever is easier i want to display all the banned ip's i have in my .htaccess file i have a lot of lines in my .htaccess file but i have a line that read like this:
the 3 test ip's are 123.123.123.123 and i want the "" stripping and the "|" removing and each ip to be on it's own line like this:
123.123.123.123 123.123.123.123 123.123.123.123
i'm not bothered if this is a php script that'll read the .htaccess file and display the output or a cron job that'll run every x mins and output it to a .txt file but i'd prefer a php script
I have an pdf file on my linux RHEL 4.7 machine. I can open that file but when i click on 'saveas' to save the file in 'Text' format there are no options i see there. I need to save the 'pdf' file to 'text' format. could anyone tell me how to save the pdf file to Text format. Iam using 'KDE'
I've got a rather large CSV file (~700MB) which I know to consist of lines of 27-character alpha-numeric hashes; no commas or anything fancy. Somehow, during its migration from Windows to Linux (via winSCP and then a few regular SCPs), it has converted into some kind of binary format I am unfamiliar with.If I open the file in vi, everything appears fine, and it says [converted] at the bottom, although I know it's not a line endings issue (and dos2unix doesn't help). If I 'head' the file, it looks proper except for a " at the beginning of the first line. If I open up the file in nano, however, I see the at the start and then "^@" before every character (even newlines and EoF).
If I try to re-save or copy the file (say via: head file.csv > short.txt), this special encoding is preserved. I copied the first ten lines out of vi (which displays it properly) into my Windows clipboard via my SSH client, then pasted it into a new text file, test.txt. This file is visually identical when opened in vi (and similar through 'head', minus the ), although it's roughly half of the filesize. I have no idea what format this once-text file got converted to (it's notoriously hard to search the internet for symbols), but surely there must be some way to convert it back.
I'm trying to run a CGI file with Apache2, but when I navigate to it, I just get the file in it's plain text format and not actually parsing the file. What do I need to configure?
I've tried this Code: <Directory /var/www/> AddHandler cgi-script *.cgi Options +ExecCGI </Directory> And I've tried this Code: <Directory /var/www/> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny [Code]...
I usually work with plain text files, and when moving them across platforms, the differing format creates problems. I want that whenever I save a file with extension *.txt, it be saved as DOS format, and all other extensions or without get saved as Unix format.
it compares two files using md5... if they are same , a corresponding character is output to a text file .. but the problem is it gets appended by default.. is there any way to output in a normal way because the text is a message and it should be of proper format here is my script
Code:
#!/bin/bash g=`tail -1 new.txt|head -n 1` array=( a b c d e f g h i j k l m n o p q r s t u v w x y z ) for((i=1 ; i <$g+1 ; i++))
[code]....
the message is supposed to be hello , i need to get rid of the endlines somehow..
convert latin1 to utf8 I have a problem at convert latin1 to utf8. There are so many unreadable characters at latin1 db, and these characters could not convert into utf8 also. So I could not import to new utf8 db. Is it possible to convert these character to utf8 to import to utf8 db?
I've been having some trouble configuring my Nvidea GT 430 with my LCD TV. When I specify the larger resolutions like 1920x1080, there is always one inch trimmed off around edge. First using Linux Mint 10 LXDE, I booted with the new graphics card in. Without loading any drivers, I was able to select 800x600 or 640x480 and those had an inch of black around the screen. I installed the proprietary Drivers and then the screen was cut off a bit on the edges and the text was so tiny i couldn't see anything.
I then tried Linux Mint 11 Gnome. The text was readable, but still couldn't get the screen to match the TV edges correctly. I think it is a problem with my TV as this happens in windows and Linux. My TV is older and doesn't allow me to resize the screen within its menus. However, in windows I am able to use the Nvidea tools to resize my resolution to a custom size. It turned about to be about 1800x1020. I only really like using windows unless I absolutely have to though.. Is there a way to manually resize the display area in the xorg.config file? or any other workaround?
I built a new system with an Intel i5 and ASUS P8H-67-M LX motherboard that uses the Sandy Bridge chip set for video. It is a recent version without the original bugs. I use a 24" monitor, VisionQuest(Plain Tree Systems) and it supports 1920 * 1200. In System Settings > Monitor Preferences I confirm the resolution as 1920 * 1200. The Monitor is detected properly.
Drop down windows, such as my Firefox bookmarks drop below the bottom of the screen, without any scroll bars. I can drag the mouse pointer below the bottom edge of the screen. It disappears. In contrast, on my older system with Ubuntu 10.04 the mouse pointer will never totally disappear. The top tip remains.
It is like Ubuntu, when rendering the display, thinks I have something like a 1920 * 1280 screen, and everything in that bottom 80 vertical just falls off. Seems like a bug, and maybe a simple one to fix.
I have an NVIDIA video card attached to my LG plasma TV by vga cable. My display is offset slightly with some of the left-most and top-most area of the screen out of range with an equal amount of black/unused screen to the bottom and right. Is there a way for me to recalibrate my display to correct for this?
Running SunGard Banner software on RHEL 4.2 x86-32 bit Linux server Oracle Application 10.1.2.3 samba enabled. Users run processes/reports that are logged in a daily log file. In our daily job submission log files the user password shows up as clear text.The password shows up as $PSWD (sample from the logfile):
I have a bunch of text files that I created with mousepad in xfce. I didn't really think I would need to share them, but I guess I have to. Is there anyway I can batch convert these to rtf so they could be viewed on a windows client?
I have some files which are UTF8 and have first line as blank. It shows as data file by "file" command. If I remove the blank line, it shows it as UTF8 text file. I have to choose displayable text files from many files, so I used "file" command.
Note: I do not have permission to attach file. So not able to attach sample file here.
I have a Word document that I want to read from and format the text dynamically to send to another program. The document is about 12 pages long, and I need to preserve CR or EOL's, but the rest of the text will need be formatted according to variables such as characters per line and lines per page. I will need to read and print characters like %, ;, and : too.
I have created a file using open() and written data to it. Data appears as normal characters in the file. How to save these characters in a binary format in that file using C language? Here I mean that the characters should be actually stored as 0 and 1. Do I have to convert the whole data using some function or there is some standard way to do it in Linux?
All I want to do is fade some text in and out via the opacity attribute, and change the text when it hits zero. My script changes the text on time, but ignores the formatting effects. I'm not worried at this stage about the else statement in the startFadeEffect() function. I just want the fade effect to work here the way it should.
just wondering is there a simple script to convert datetime to UTC format. I have been searching different forums but most answers are for converting UTC to datetime. For example what is a simple command/script to convert todays datetime to UTC format i.e. '2009-10-09 11:47:59'.
I need some assistance in trying to format a USB hard drive to vfat format but can't seem to do so. I am currently using RHEL 5.3. I have tried the following commands and they all come back as "command not found"
I have since quite a long time the problem that files using special characters in their filenames are not displayed in various applications. In console or Thunar I have a special "white questionmark in a rhombus" sign for every special character. It is an XFS partition. I have read a few times that this can be solved by using the iocharset=utf8 option in /etc/fstab, but this option is not recognized and the mount inhibited.
I used other options: utf8 as well as nls=utf8, but that was not recognized neither. What option do I need to specify to enable utf8 for XFS ? Samba works. That means I can play an MP3 file in Windows exported from the XFS disk using Samba, although the special character is then shown as "_" in Windows..
i have the following text in a file located in /home/anoopm101/.task [description:"this is the text" entry:"1306682734" status:"pending" uuid:"25c54e1b-824f-52bc-4933-dfe7cda34bc7"]
i have to display on my desktop "this is the text" using conky.
I don't use Firefox much, my default browser is Google Chrome. But I've noticed sometimes things like Flash on some sites runs smoother in FireFox. So yesterday I opened up FF because Facebook was giving me some issues, so i wanted to see if it was Chrome or FB. Now, I haven't run FF in a few weeks, and I've noticed a few updates had rolled in for it since my last use.
When I opened FF and went to FB the login page wouldn't display correctly, and in fact would display no text whatsoever except for the links for the Japanese and Chinese FB pages. I assumed it was FB since I was already having issues with it. Later, I tried again and got the same loading issue. So I ran a Google search for FF issues with FB and got the same problem with Google search results, I got the logo and all the little search icons, but no text.
I tried everything I could think of and everything anyone I asked could think of including:
The only thing that I can do to make FF work is run Alt+F2 gksu firefox. That allows it work with out any issues. Has anyone come across this issue or anything similar? I'm including a couple screen shots of what it looks like when it's not working correctly. Note: these pages have finished loading, the text isn't "white on white" it's just not displaying, view source of these pages shows the complete page is loaded including all text it just isn't being rendered.