7 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Good Morning,
I'm cloning a Sunblade with Solaris 9. I need to make the Nic MACs match. I find two general answers 1. It can't be done, or 2. something like this work:
ifconfig le0 ether aa:1:2:3:4:5
It that all that is required to change a MAC? (8 Replies)
Discussion started by: Stellaman1977
8 Replies
2. Solaris
I'm trying to setup Samba in a solaris zone... Is there a way to setup Samba so that every Windows machine that tries to connect to the share always gets it mounted under the same drive letter (e.g. H:)???
My Samba share (in smb.conf)
/home/pickup
I want that all Window users get it mounted... (3 Replies)
Discussion started by: verdepollo
3 Replies
3. AIX
Hi all,
I am trying to replace an old 9gb hard disk for a 36gb hard drive on an AIX 4.3.2 system (can't update)
I was thinking of doing this by doing a dd from the 9gb to the 36gb hard drive and then resize the Logical Volumes. However, lspv <36gb hard disk> gives me the folowing:
#lrnt>... (4 Replies)
Discussion started by: eRJe
4 Replies
4. Shell Programming and Scripting
Hi,
I want to convert the first letter of this word from lowecase to uppercase.
Assume a letter united. I want to translate to United
Please let me know a simple way to do that.
Thanks. (22 Replies)
Discussion started by: Krrishv
22 Replies
5. UNIX for Dummies Questions & Answers
hi there!
can anybody help me on what command will i use for UNIX to generate port numbers? i mean, other than bind? say i want to create a new session, and i dont want to reuse the port that i have used...
please help.
i would appreciate it so much!
with much love,
init6_ (2 Replies)
Discussion started by: init6_
2 Replies
6. UNIX for Dummies Questions & Answers
My situation is that we have production unix scripts that ftp files over to a windows server. I'm not sure if its a 2000 or 2003 server as I dont work on server, more on the unix side. It turns out that they are changing servers on the network. So they are migrating our data over from say Server 1... (1 Reply)
Discussion started by: NycUnxer
1 Replies
7. Shell Programming and Scripting
Hi,
How we can detect that there has been a data loss during FTP, throught Shell scripting?
I have gone through FTP return codes, but, none indicate that there has been any data loss.
Can we use FTP return code 226 as an indication that during file transfer there has been no data loss? If,... (4 Replies)
Discussion started by: sameerbo
4 Replies
thai/thwchar.h(3) libthai thai/thwchar.h(3)
NAME
thai/thwchar.h -
Wide char support for Thai.
SYNOPSIS
Macros
#define THWCHAR_ERR (~(thwchar_t)0)
Wide-character value indicating error.
Typedefs
typedef wchar_t thwchar_t
Thai character type for storing Unicode character.
Functions
thwchar_t th_tis2uni (thchar_t c)
Convert character code from TIS-620 to Unicode.
int th_tis2uni_line (const thchar_t *s, thwchar_t *result, size_t n)
Convert string from TIS-620 to Unicode.
thwchar_t th_winthai2uni (thchar_t c)
Convert character code from Thai Windows extended code to Unicode.
thwchar_t th_macthai2uni (thchar_t c)
Convert character code from Mac Thai extended code to Unicode.
thchar_t th_uni2tis (thwchar_t wc)
Convert character code from Unicode to TIS-620.
int th_uni2tis_line (const thwchar_t *s, thchar_t *result, size_t n)
Convert string from Unicode to TIS-620.
thchar_t th_uni2winthai (thwchar_t wc)
Convert character code from Unicode to Thai Windows extended code.
thchar_t th_uni2macthai (thwchar_t wc)
Convert character code from Unicode to Mac Thai extended code.
Detailed Description
Wide char support for Thai.
Function Documentation
thwchar_t th_macthai2uni (thchar_tc)
Convert character code from Mac Thai extended code to Unicode.
Parameters:
c : Mac Thai character/glyph to convert
Returns:
Corresponding Unicode code
thwchar_t th_tis2uni (thchar_tc)
Convert character code from TIS-620 to Unicode.
Parameters:
c : TIS-620 character to convert
Returns:
Corresponding Unicode code
int th_tis2uni_line (const thchar_t *s, thwchar_t *result, size_tn)
Convert string from TIS-620 to Unicode.
Parameters:
s : source TIS-620 string (null-terminated)
result : buffer for storing resulting Unicode string
n : size of result buffer (as number of elements)
Returns:
the length of the output Unicode string
thchar_t th_uni2macthai (thwchar_twc)
Convert character code from Unicode to Mac Thai extended code.
Parameters:
wc : Unicode code to convert
Returns:
Corresponding Mac Thai extended code, or TH_ERR if conversion is impossible
thchar_t th_uni2tis (thwchar_twc)
Convert character code from Unicode to TIS-620.
Parameters:
wc : Unicode character to convert
Returns:
Corresponding TIS-620 code, or TH_ERR if conversion is impossible
int th_uni2tis_line (const thwchar_t *s, thchar_t *result, size_tn)
Convert string from Unicode to TIS-620.
Parameters:
s : source Unicode string (null-terminated)
result : buffer for storing resulting TIS-620 string
n : size of result buffer (as number of elements)
Returns:
the length of the output TIS-620 string
Note that, since the conversion is lossy, some characters in the convesion result may be TH_ERR, indicating conversion error.
thchar_t th_uni2winthai (thwchar_twc)
Convert character code from Unicode to Thai Windows extended code.
Parameters:
wc : Unicode code to convert
Returns:
Corresponding Thai Windows extended code, or TH_ERR if conversion is impossible
thwchar_t th_winthai2uni (thchar_tc)
Convert character code from Thai Windows extended code to Unicode.
Parameters:
c : Thai Windows character/glyph to convert
Returns:
Corresponding Unicode code
Author
Generated automatically by Doxygen for libthai from the source code.
Version 0.1.14 Tue Jun 17 2014 thai/thwchar.h(3)