Re: [U2] Determining double-byte status of a character
Check out the BYTEVAL and BYTETYPE functions. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Determining double-byte status of a character
Hi Craig, Assuming UniVerse NLS on, and that you mean double-byte in the external characterset, I would use BYTELEN( OCONV( mychar, NLS:mapname) ) Regards - Chris Thornton _ Chris Thornton DataStage development engineer Craig Bennett [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 20/12/2007 23:26 Please respond to u2-users@listserver.u2ug.org To u2-users@listserver.u2ug.org cc Subject Re: [U2] Determining double-byte status of a character Bob, can you use the UNISEQ function? or failing that BYTEVAL (testing for the multibyte character start byte)? Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Determining double-byte status of a character
Hello, Is there any way for UniVerse BASIC to determine whether or not a given character is a double byte character or a single byte character? Put another way: I need to determine programmatically, on an NLS enabled machine, whether Ibm reading a Chinese character or an English character. Any clues would be greatly appreciated. Bob Little UniVerse Developer Market America 336-478-1694 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Determining double-byte status of a character
Bob, can you use the UNISEQ function? or failing that BYTEVAL (testing for the multibyte character start byte)? Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/