08-31-2008
unable to extract Trademark(™) Character
Hello All,
I am trying to extract a trademark character (™) from a varchar column in a DB2 Table. The result is to be placed in a sequential file in an AIX environment.
After the Extraction is complete when I view the extracted file I noticed that in place of the (™) Character another highlighted character SUB has been placed.
It would be great if anyone can shed some light as to why it does not display the (™) Character. Could it be because the AIX character set does not allow this special character ?
Would appreciate your Advice. Thank You
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
HI Guys,
Have a Doubt......
I have a pattern "abcdef"
and i need to extract the third character..ie(c)
How to achieve it? (10 Replies)
Discussion started by: aajan
10 Replies
2. Shell Programming and Scripting
Hi,
I would like extract from a file a character or pattern after ( n + 1) a specific pattern (n) . ( i supposed with awk)
how could i do ?
Thanks in advance. (1 Reply)
Discussion started by: francis_tom
1 Replies
3. Shell Programming and Scripting
Hello All,
We are getting files from sftp server through file transmission protocol & after transmission we are removing all the control M
(^M) characters from them.we are expecting various kind of special characters in the files.
we are tried removing '^M' characters through 'dos2unix' command... (2 Replies)
Discussion started by: Aquilis
2 Replies
4. UNIX for Dummies Questions & Answers
I have a file having name smthing.tar.bz2-00
I am trying to unzip it using
tar -xvjf "name"
But I am not able to unzip it.
PLease advise for the issue. (3 Replies)
Discussion started by: nixhead
3 Replies
5. Programming
Hi,
I am unable to assign value zero to my variable which is defined as unsigned char.
typedef struct ABCD
{
unsigned char abc;
unsigned char def;
unsigned char ghi;
} ABCD;
typedef ABCD *PABCD;
In my Por*C code, i assign the values using memcpy like below
... (3 Replies)
Discussion started by: gthangav
3 Replies
6. Red Hat
Linux 3.8.13-16.2.1.el6uek.x86_64 #1 SMP Thu Nov 7 17:01:44 PST 2013 x86_64 x86_64 x86_64 GNU/Linux
Hi all,
I am unable to extract .gz file using gunzip
Used the following command to create the .gz file:
nohup tar -cvpf - 11.2.0.4 | gzip -c >... (3 Replies)
Discussion started by: a1_win
3 Replies
7. UNIX for Beginners Questions & Answers
Hi friends,
I want to create new user BG0001 in SunOS and getting below errorbash-3.2# useradd -d /home/BG0001 -m -s /bin/sh BG0001
UX: useradd: BG0001 name should have at least one lower case character.
bash-3.2#
bash-3.2#
OS version is as belowbash-3.2# cat /etc/release
... (7 Replies)
Discussion started by: sandeepkmehra
7 Replies
LEARN ABOUT DEBIAN
mvwinch
inch(3NCURSES) inch(3NCURSES)
NAME
inch, winch, mvinch, mvwinch - get a character and attributes from a curses window
SYNOPSIS
#include <curses.h>
chtype inch(void);
chtype winch(WINDOW *win);
chtype mvinch(int y, int x);
chtype mvwinch(WINDOW *win, int y, int x);
DESCRIPTION
These routines return the character, of type chtype, at the current position in the named window. If any attributes are set for that posi-
tion, their values are OR'ed into the value returned. Constants defined in <curses.h> can be used with the & (logical AND) operator to
extract the character or attributes alone.
Attributes
The following bit-masks may be AND-ed with characters returned by winch.
A_CHARTEXT Bit-mask to extract character
A_ATTRIBUTES Bit-mask to extract attributes
A_COLOR Bit-mask to extract color-pair field information
RETURN VALUE
Functions with a "mv" prefix first perform a cursor movement using wmove, and return an error if the position is outside the window, or if
the window pointer is null.
NOTES
Note that all of these routines may be macros.
PORTABILITY
These functions are described in the XSI Curses standard, Issue 4.
SEE ALSO
ncurses(3NCURSES).
Comparable functions in the wide-character (ncursesw) library are described in in_wch(3NCURSES).
inch(3NCURSES)