06-25-2002
Java Programming in UNIX Environment
A suggetion:
Don't we need to start Java Programming in UNIX Environment Forum ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have to make a menu based program to allow iusers to select the system information about their machine that they want. All i have been taught is how to enter commands at the command prompt like simple commands such as pwd and cd directory to change directory (not even sure if that is right). But... (1 Reply)
Discussion started by: carlvernon
1 Replies
2. Programming
Hi all,
I know the basics of C programming, but I dont know a single thing about how to write, compile and run C code in UNIX, also where liberaris are stored, how .headers files are being managed in unix, how to debug c code and what are the available GNU tools for c programming in linux env,... (6 Replies)
Discussion started by: patras
6 Replies
3. Shell Programming and Scripting
Here is part of my script:
export ERT
export CYE
export AYE
java -classpath ${CLASSPATH} -DCYE="${CYE}" -DAYE="${AYE}" -DERT="${ERT}" classname
I've verified in my script that all three variables have values.
Once the JAVA app runs it only has the ERT values. CYE and AYE come through as... (0 Replies)
Discussion started by: Cailet
0 Replies
4. Programming
In the Java programme, I am calling function, "Runtime.getRuntime().exec( cmdarray ); " with the array of arguments in which first argument is the binary(C-executable) file and argv1,argv2 and so on. This will be executed on Sun OS system.. I can execute using "sh -c cmdarray" on the shell... (0 Replies)
Discussion started by: shafi2all
0 Replies
5. Programming
Hi,
I need to uncompress a gzip and bzip file using java on unix solaris environment. I also need to retreive the header information of the file inorder to differentiate between gzip and bzip file. Please help
Pooja (0 Replies)
Discussion started by: wadhwa.pooja
0 Replies
6. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
I am trying to install a .bin file for that it requires IBMJava2-AMD64-142-JRE-1.4.2-13.8.x86_64.rpm to be installed. I have installed this rpm but when i try to install .bin file, it complains that no JRE found. How to solve this. Thanks in advance!
#... (0 Replies)
Discussion started by: lramsb4u
0 Replies
8. Shell Programming and Scripting
Hi,
I'm trying to test one unix shell script in dev environment. But I'm not sure how to pass the environment in my java program calling code. I'm trying to use -DconsumerEnv="DEV" but unfortunately I get 'null' while trying to print the value from java class.
System.out.println("Environment: "+... (4 Replies)
Discussion started by: Pramit
4 Replies
9. Shell Programming and Scripting
Hi
Here is the problem ( Exercise 3-3, Using The Shell of The Unix Programming Environment, Kerninghan, Pike, 3rd edition ):
Predict what each of the following grep commands will do, and then verify your understanding.
grep \$
grep \\$
grep \\\$
grep '\$'
grep '\'$'
grep \\
grep \\\\... (3 Replies)
Discussion started by: dum_dum20
3 Replies
10. Solaris
Hello chings ,
Oracle Solaris OS Install (JDK)
My host is win7 X64 and guest is solaris 10 X64 .
My share file name is sharefile10
I unzip the file from host so I dont need type tar or gzip command through solaris .
I have downloaded JDK from oracle offical website and the name : ... (4 Replies)
Discussion started by: SSUUser
4 Replies
LEARN ABOUT PHP
transliterator_transliterate
TRANSLITERATOR_TRANSLITERATE(3) 1 TRANSLITERATOR_TRANSLITERATE(3)
Transliterator::transliterate - Transliterate a string
Object oriented style
SYNOPSIS
public string Transliterator::transliterate (string $subject, [int $start], [int $end])
DESCRIPTION
Procedural style
transliterator_transliterate (mixed $transliterator, string $subject, [int $start], [int $end])
Transforms a string or part thereof using an ICU transliterator.
PARAMETERS
o $transliterator
- In the procedural version, either a Transliterator or a string from which a Transliterator can be built.
o $subject
- The string to be transformed.
o $start
- The start index (in UTF-16 code units) from which the string will start to be transformed, inclusive. Indexing starts at 0. The
text before will be left as is.
o $end
- The end index (in UTF-16 code units) until which the string will be transformed, exclusive. Indexing starts at 0. The text after
will be left as is.
RETURN VALUES
The transfomed string on success, or FALSE on failure.
EXAMPLES
Example #1
Converting escaped UTF-16 code units
<?php
$s = "u304Au65E9u3046u3054u3056u3044u307Eu3059";
echo transliterator_transliterate("Hex-Any/Java", $s), "
";
//now the reverse operation with a supplementary character
$supplChar = html_entity_decode('𝄞');
echo mb_strlen($supplChar, "UTF-8"), "
";
$encSupplChar = transliterator_transliterate("Any-Hex/Java", $supplChar);
//echoes two encoded UTF-16 code units
echo $encSupplChar, "
";
//and back
echo transliterator_transliterate("Hex-Any/Java", $encSupplChar), "
";
?>
The above example will output something similar to:
1
uD834uDD1E
SEE ALSO
Transliterator::getErrorMessage, Transliterator::__construct.
PHP Documentation Group TRANSLITERATOR_TRANSLITERATE(3)