Software :: How To Change Character Set

Oct 10, 2010

My distribution is CentOS 5.5, I installed Oracle 11g and create an instance setting its character set as AL32UTF8. The problem is the message from oracle cannot be shown correctly,

Like this:
ORA-00942: ?

I guess that maybe the characterset of my CentOS differs from what oracle uses.

So i turned to /etc/sysconfig/i18n and found:
LANG="zh_CN.UTF-8"

So i changed contents of i18n to:
LANG="zh_CN.AL32UTF8"

But still cannot solve the problem. Maybe my linux don't know what AL32UTF8 is?

View 2 Replies


ADVERTISEMENT

General :: Use The Man / Info / Apropos Pages - Character Instructed The Shell To Interpret A Special Character As An Ordinary Character?

Mar 27, 2010

1.What character instructd the shell to interpret a special character as an ordinary character?

2.What directory contains some of the utilities available on the system in the form of binary files?

3. What command is used to search the location of a utility?

4. What command is used to instruct the editor to write the file and quit the editor?

5. What key quits the more utility and displays the shell prompt?

6. What command starts a child shell as the super user, taking on root's identity and environment?

7. Which wildcard characters can be used for searching all the files in the system that start with "A"?

8. The user name or login name of the super user is????

[Code]....

View 10 Replies View Related

General :: Change File Character Set?

Aug 9, 2010

I would like to know how I can change a file so it has the same character encoding as files saved as comma separated csv files from Microsoft Excel.

I have tried using iconv to do this. code...

View 5 Replies View Related

Fedora :: Change XFCE4 Character Encoding?

Jun 28, 2009

I am experiencing some difficulties accessing some of my drives which have folders/files whose names include special characters. That problem has appeared just now, in Fedora 11, and just in XFCE4 (it somehow got stuck with the English default). In neither GNOME nor KDE happens.

The problem is not narrowed down to Thunar because even the terminal fails to recognize the special characters in XFCE4.

I guess that is simply solved by editing some configuration file, but I can't seem to find it.

What do I need to do to allow XFCE4 recognize special characters?

EDIT: It's definitely XFCE4, because if I open Thunar or xterm from GNOME, they recognize special-characters-filenames very well.

View 12 Replies View Related

Fedora :: Change Character Encoding In Either 12 Or PCBSD?

Feb 10, 2010

I have two machines in a local network and want to share files among them. Since I don't want to bother configuring NFS right now I am using ssh and scp to transfer files among them. There is a little problem though: the machines have different *nixes. One machine has Fedora 12 (Spanish) and the other one has PCBSD 7.1.1 (English).The problem is that both machines have different character encoding and while the Fedora machine can perfectly handle names with special characters, the BSD machine can't and in fact upon doing ssh to the Fedora machine filenames (with special characters) appear wrong and prove difficult to work with.

View 2 Replies View Related

Programming :: Sed To Change Character In Text File Only Once?

Sep 7, 2009

I have a script that looks like:

Code:

cat servers.txt
trivia:P:N
trivia:D:N
tucana:P:Y

[code]....

I want to be able to find the lines that matches my input and change the N to a Y, but only for the lines that matches the name and not any other N's My problem is the line does not always contain a P as it can be a D as well so my matching did not work. If my script issues the name $1=triva the lines will change to:

Code:

trivia:P:Y
trivia:D:Y

I have the following code so far but as you can see it does not change the D's

Code:

sed -i 's/trivia:P:Y/trivia:P:N/g' servers.txt

*** UPDATE ***

should I be using a method as follows? I am still stuck on the changing all instances though.

Code:

$1=server
sed -i 's/$server1:P:Y/$server:P:N/g' server.txt
sed -i 's/$server1:D:Y/$server:D:N/g' server.txt

View 7 Replies View Related

Software :: Change Character In Custom Keyboard Layout?

Mar 9, 2010

How can I change the third level of the 1 (one) key to umlauted a using German Dvorak layout?

View 1 Replies View Related

Software :: Vim Text Change Command Including X Character

Jun 18, 2011

In Vim, I can change the text up until the next instance of "X" using this command:
Code:
cfX
The problem is that it includes "X". What if I want to change until, but not including, "X"?

View 2 Replies View Related

Programming :: Perl Regular Expression To Change Character

May 26, 2009

Part of a perl script I am writing need to change the character at an index to upper case. Now i am new to perl and i am having some trouble getting it to do it. In c++ i would do something like

Code:

Now from what i understand the same thing is possible in perl using regular expressions. But i cant get it to work.

View 2 Replies View Related

Red Hat / Fedora :: Change File Names To Remove Invalid Character

Apr 1, 2009

I am trying to copy a large number of files from a Linux server to a Windows file share. Unfortunately, all of the files and folders I have to copy have 10 numbers followed by 2 colons "::" in the name (example: 1234567890::WordDoc.doc) which of course is invalid in windows naming conventions. So now I'm trying to come up with a way to change the file and folder names on the fly to replace the colons with a dash "-" or space " ". I'm even willing delete the frist 12 characters in necessary. I have tried cp, mv, tr, and several -bash scripts but get no positive results.

View 4 Replies View Related

Ubuntu :: Frozen Panel - Messing Around With The Alternate Character Panel App And Made A Custom Character Set

Jun 12, 2011

I was messing around with the alternate character panel app and made a custom character set. I then wanted to put it on a new panel and created a new panel. I moved the character set to that panel, and then started to mess around with the panel settings (auto hide, show hide buttons, and expand, to be specific.) So far so good, until I moved the panel from the right side of the screen to the top. I already had a panel here, and it seemed not to like hiding a panel when there was already one on the top.

When the new panel hid itself, all my panels stopped responding (any clicks on them did nothing) and my processor started going at 100%. I tried a reboot and the only thing that changed is that now I can't even see my panels. I'm guessing I need to change the settings back manually through the prompt, but I don't know how to do that. I am using 10.04 and have not upgraded gnome since upgrading to 10.04.

View 1 Replies View Related

General :: VI And Vim And Set Default Character?

May 11, 2011

1,i access my server via secureCRT, when i typed the Code: vim in it, it shows Code: -bash: vim: command not found . how to install the vim? my linux version is centos.

2, when i typed some chinese characters in VI, it shows unnormal. maybe i should set the default character to UTF-8. but i don't know how to set it.

3,i want to copy a html file code to VI, how do i do?

4,how to create a file. like this? Code: mkdir filename ?how to rename the file, which i created by VI and had some contents in the file.

View 1 Replies View Related

Programming :: How To Remove The Last Character

Jun 27, 2010

I have a string like this "/home/test/filename.txt" and i want to delete all character after the last "/". how to do that using sed or awk.

View 5 Replies View Related

General :: Sed Add A Character To The End Of Each Line

Aug 5, 2010

I am using the following command to add a comma to the end of each line in my file:

but for some reason the comma gets placed on a new line in between each line in the file. Why is this?

View 2 Replies View Related

General :: Bind / Map Character To Alt+?

Dec 23, 2009

In programming and various terminal programs (Screen, Vim) the [, ], { and } tends to be used a lot. I'm using a Norwegian keyboard where these are placed such that I have to stretch my fingers a bit too long for whats comfortable. To make it easier I though I'd try to make alt+[some key] be one of these characters. Is there a way that I can bind, say alt+� (Norwegian letter) to '{' system wide?Btw, is such thing called binding, mapping or something else? I'm getting a bit confused by the terms...

View 2 Replies View Related

General :: Cut Only 2nd Line And 2 Character?

Apr 6, 2010

i have a trouble here to cut a file

cut -c1-2 /etc/hasil.log
THE RESULT IS :
PI
64
64
64

[Code]....

View 10 Replies View Related

General :: 567 Is A 3 Character Number Why The O/p Is 4

Jan 11, 2011

look into the following command...

Code:
asit@ubuntu:~/script$ echo 567 | wc -c
4

though 567 is a 3 character number, why the o/p is 4 ??

View 1 Replies View Related

Programming :: Character Arrays In C?

Nov 3, 2010

I was reading Kernighan Ritchie book chapter 4 which deals with character pointers.I am not able to understand following different type of declarations

Code:
char aname[][15] = { "Illegal month", "Jan", "Feb", "Mar" };
char amessage[] = "now is the time";

[code]...

View 1 Replies View Related

Programming :: Get Value In Character String?

Oct 23, 2010

i am compiling the following program in linux. it's in c language. after the compilation with gcc when i run the executable file. it asks for input. but when i enter a name. i prints "Segmentation fault" and then terminate the program. can you please help me.

#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>

[code]....

View 1 Replies View Related

Programming :: Remove First And Last Character?

Feb 24, 2010

which is the simplest way to have first and last character cropped out from a string? Something simpler than

Code:

echo $STRING | cut -b 2- | rev | cut -b 2- | rev

View 6 Replies View Related

Programming :: Sed Substitute Everything Until Character?

Mar 30, 2010

I have the following file:

Code:

1 line
...
49 test test=AA:AA:AA:AA:AA=0

I need to substitute on the line number 49, all text until =. I have used the following, but with no actual result.

sed -re '49s/^.+=//' file
and
sed -e '49s/.*[=]//' file

View 5 Replies View Related

Fedora :: Grep A File For Each '#' Character And Utf-8

Aug 15, 2010

I want to grep a a file for each '#' character that starts a line, the thing is the file is utf-8 and it starts with some some characters 'ef bb bf' is there a way to have grep to work with utf-8 files ?

[Code]....

View 2 Replies View Related

OpenSUSE :: Remove The Tab-like Character In Terminal?

Dec 8, 2010

In my terminal , there's always a tab-like(a long space) between the "pswz-zhangy@linux-buym:~>" and the cursor, how can i get rid of if?

View 5 Replies View Related

OpenSUSE :: How To Write Chinese Character

Feb 11, 2011

I want to know if it's possible to write chinese character in the different applications (openoffice, thunderbird ecc) and how to do it (keeping the original language of the OS, talian)

View 6 Replies View Related

OpenSUSE Hardware :: Pipeline Character Does Not Appear

Feb 16, 2010

I have installed opensuse 11.6 in my TOSHIBA (Satellite) laptop. Currently I have problem with keyboard . When I type pipeline key [SHIFT+|] it gives ~(tilda) character instead of |.

View 4 Replies View Related

General :: How To Set Character Set Per Application In Slackware

Jul 9, 2010

I am attempting to set a character set of IBM850 on slackware linux for a particular application (epic5). I am using rxvt-unicode and have setup LANG/LC_*=en_US. Now if I set the encoding to IBM850 in kde's konsole program im able to display certain characters correctly. I'd rather not use IBM850 for everything; is there a way to set/alias a command for a per application execution?

I've tried things like:
LC_CTYPE=IBM850 epic5
LC_ALL=IBM850 epic5

View 2 Replies View Related

General :: Formatting $PS1 To X Amount Of Character?

Jun 22, 2011

I'm looking for a way to force my PS1 variable to a certain number of chars.
It currently looks like:

$PS1="W $"

and I'm trying to keep the same number of characters regardless of the length of current folder name.

For example, both Documents and bin would be displayed as 10 character strings, keeping the left side of my terminal the same width all of the time.

View 1 Replies View Related

Ubuntu :: Character Count On Openoffice.org?

Jan 13, 2010

I need a way to count characters without taking into account spaces, on OpenOffice Writer, and a way to do same, plus counting words on OpenOffice Calc. On Calc, it seems impossible to count words, just cels. I need that to help a friend who is a translator and receives per characters like that (without spaces).

She wants to migrate to free software, but she (and I too) couldn't find this tool on OpenOffice. She tells me it's possible to do that on MS Office.

View 5 Replies View Related

Ubuntu :: First Keyboard Character Gets Dropped

May 27, 2010

Have Lucid installed on an Acer laptop. With an external keyboard plugged into a USB hub, then into the laptop, I have been losing the first character typed, sometimes. Most of the time it is OK, but it happens many times in an hour. If I am typing right along, no drops. Only the first character I enter is missing. Most of the time it is firefox I am typing into, but not always. My use of this machine is largely online, so probably that is coincidental.

This problem I have never seen before Lucid - I don't remember it in the beta ether, but I didn't run that too much.Versions 9.04 and before were OK (couldn't use 9.10 for other reasons).

View 3 Replies View Related

Ubuntu :: ESC Character In Dash Shell

Oct 21, 2010

when I try to enter an escape sequence in the interactive mode of dash, it keeps on spewing out the <ESC> character as ^[ displayed in plain text instead of catching it as a control character. I vaguely remember encountering this on some UNIX shell but for the life of me I can't find anything on it. So how do I properly enter escape sequences in dash's interactive mode? (it supposedly supports vi line edit mode but I can't access it at all because of the ESC situation)It's not a make-or-break thing.

View 2 Replies View Related







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