General :: Display Utf8 Format In Text Area?

Aug 10, 2009

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..?

View 6 Replies


ADVERTISEMENT

CentOS 5 :: Difference Between En_US.UTF8 And Zh_CN.UTF8 In The Locale Setting?

Jul 11, 2010

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?

View 2 Replies View Related

Software :: Process Utf8 Text Of Filenames To Cp/ln?

Nov 6, 2010

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.

View 1 Replies View Related

Software :: Finding A Php Script To Format And Display A Select Amount Of Text From A File?

Jan 23, 2009

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:

Code:

RewriteCond %{REMOTE_ADDR} (123.123.123.123|123.123.123.123|123.123.123.123)$

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

View 14 Replies View Related

General :: Convert Pdf File To Text Format In 4.7?

Dec 27, 2010

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'

View 6 Replies View Related

General :: Unconvert Text File From Binary Format

Dec 28, 2010

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.

View 1 Replies View Related

General :: Cannot Run CGI On Apache - Get The File In It's Plain Text Format

Jan 31, 2011

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]...

View 1 Replies View Related

General :: Automatically Saving Text Files In DOS Format?

Oct 5, 2010

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.

View 2 Replies View Related

General :: Output A Text File In Proper Format?

Mar 4, 2010

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..

View 2 Replies View Related

General :: Convert The Latin1 To Utf8?

Aug 20, 2010

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?

View 8 Replies View Related

Hardware :: Nvidea GT 430 Hdmi To LCD TV: Outer Edges Always Cut Off (outside Display Area)

May 29, 2011

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?

View 9 Replies View Related

Ubuntu Installation :: 11.04 Sandy Bridge Display Area Overflows Bottom?

May 8, 2011

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.

View 9 Replies View Related

Ubuntu Multimedia :: Display Is Offset Slightly With Some Of The Left-most And Top-most Area Of The Screen Out Of Range

Dec 8, 2010

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?

View 2 Replies View Related

General :: Ubuntu - Search Text In Files And Display File Name?

Mar 30, 2011

I am using find some_dir -name "*.some_ext" | xargs -l10 grep "some_expr"

to find files in folder, but I just want to display the file name but not all file content. Any solution?

View 2 Replies View Related

General :: User Passwords Display In Log File In Clear Text?

Apr 21, 2010

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):

$JOB
$BANUID
$PSWD

[code]...

View 1 Replies View Related

Software :: Batch Convert Text Format To RTF?

Aug 27, 2010

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?

View 4 Replies View Related

General :: "file" Command Not Working Properly For UTF8 Files?

Oct 30, 2009

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.

View 5 Replies View Related

Software :: Dynamically Format Text And Send To Another Program?

Mar 21, 2010

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.

View 5 Replies View Related

Programming :: How To Save Text Data In Binary Format Using C

Feb 20, 2010

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?

View 14 Replies View Related

Programming :: String Format - Create A Text File ?

Feb 3, 2010

I am using C. I have a fuction that returns a string

Code:

I need to format this string so that I can create a text file like so:

So I'm trying:

Code:

But I get errors like:

View 2 Replies View Related

Fedora :: How To Change Time Display Format

May 15, 2010

How do I switch from 24hr format to 12hr format clock in Fedora 12 + KDE?

View 5 Replies View Related

Debian :: Display User Quota In Human Readable Format

Mar 10, 2015

I want to display users quota in human readable format, so if the size is over 1 GB I want the quotas displayed in GBs

So when I issue the command below should I not get the results in GB ?

Code: Select allrepquota -sa

bob -- 87200M 400G 440G 879 0 0
dave -- 255G 400G 440G 3627 0 0
jim -- 10664M 400G 440G 230 0 0
tom -- 10737M 400G 440G 636 0 0

User bobs usage is 86GB, should 86GB not be displayed rather than 87200M?

View 1 Replies View Related

Programming :: Javascript Ignores Format Modifying Instruction - Fade Some Text In And Out Via Opacity Attribute

Jun 24, 2011

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.

[Code]...

View 14 Replies View Related

General :: Simple Script To Convert Datetime Format To UTC Format?

Oct 9, 2009

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'.

View 10 Replies View Related

General :: Format A USB Hard Drive To Vfat Format But Can't?

Sep 15, 2010

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"

mke2fs vfat /dev/sc1
fdisk vfat /dev/sdc1
mkfs.vfat /dev/sdc1

What am I doing incorrectly?? Can someone please point me in the right direction??

View 6 Replies View Related

Ubuntu Installation :: XFS - Which UTF8 Mount Option In Fstab

May 9, 2010

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..

View 4 Replies View Related

Ubuntu :: Display A Text From A File Using Conky?

May 29, 2011

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.

View 2 Replies View Related

Ubuntu :: FireFox Won't Display Text Unless Run In Root

Jun 22, 2011

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.

View 2 Replies View Related

Ubuntu :: To Display A Text From A File Using Conky?

May 29, 2011

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

View 7 Replies View Related

Software :: Display A Text Message On XDM Login Screen?

Mar 13, 2009

I am using Debian Lenny (5.0) and I would like to know how can we display a custom text message on the XDM login screen?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved