Topic Options
Rate This Topic
#43478 - 03/05/01 02:34 PM 4.5.2 function question
rick cook Offline
Old Hand
*****

Registered: 07/03/01
Posts: 2984

My question is this: In what instances would the number of characters returned by those functions be different than the number of bytes returned?

Rick Cook
Remedy Consultant
Herrick Douglass Technology Development



Top
#43479 - 03/05/01 03:05 PM Re: 4.5.2 function question [Re: adampederson]
russews Offline
Stealth Member

Registered: 06/12/01
Posts: 73

Scott

-----Original Message-----
From: Rick Cook [mailto:rcook@HDTD.COM]
Sent: Monday, March 05, 2001 1:35 PM
To: ARSLIST@LISTSERV.VISTAIT.COM
Subject: 4.5.2 function question



I was reading through the release notes for ARS 4.5.2, and found something I have a question on. One fixed bug said: In LEFT, LENGTH, LOWER, LPAD, RIGHT, and SUBSTR, replace “characters” with “bytes.”.

My question is this: In what instances would the number of characters returned by those functions be different than the number of bytes returned?

Rick Cook
Remedy Consultant
Herrick Douglass Technology Development



Top
#43480 - 03/05/01 02:58 PM Re: 4.5.2 function question [Re: adampederson]
jlo4 Offline
old hand

Registered: 06/12/01
Posts: 769

I think Japanese (Kanji) and other languages need 2 bytes per character.

Jim

-----Original Message-----
From: Rick Cook [mailto:rcook@HDTD.COM]
Sent: March 05, 2001 12:35 PM
To: ARSLIST@LISTSERV.VISTAIT.COM
Subject: 4.5.2 function question



I was reading through the release notes for ARS 4.5.2, and found something I have a question on. One fixed bug said: In LEFT, LENGTH, LOWER, LPAD, RIGHT, and SUBSTR, replace “characters” with “bytes.”.

My question is this: In what instances would the number of characters returned by those functions be different than the number of bytes returned?

Rick Cook
Remedy Consultant
Herrick Douglass Technology Development



Top
#43481 - 03/05/01 03:24 PM Re: 4.5.2 function question [Re: adampederson]
rick cook Offline
Old Hand
*****

Registered: 07/03/01
Posts: 2984



Rick Cook
Remedy Consultant
Herrick Douglass Technology Development

-----Original Message-----
From: Russell, Wendell S (Scott) [mailto:RusseWS@LOUISVILLE.STORTEK.COM]
Sent: Monday, March 05, 2001 1:05 PM
To: ARSLIST@LISTSERV.VISTAIT.COM
Subject: Re: 4.5.2 function question


It say this will require a change for "double-byte languages". My guess is some of the newer character sets support double-bytes to display more characters for other languages (i.e. Chinese - I guess). I do not know for sure what character sets or languages.

Scott

-----Original Message-----
From: Rick Cook [mailto:rcook@HDTD.COM]
Sent: Monday, March 05, 2001 1:35 PM
To: ARSLIST@LISTSERV.VISTAIT.COM
Subject: 4.5.2 function question



I was reading through the release notes for ARS 4.5.2, and found something I have a question on. One fixed bug said: In LEFT, LENGTH, LOWER, LPAD, RIGHT, and SUBSTR, replace “characters” with “bytes.”.

My question is this: In what instances would the number of characters returned by those functions be different than the number of bytes returned?

Rick Cook
Remedy Consultant
Herrick Douglass Technology Development



Top
#43482 - 03/05/01 03:48 PM Re: 4.5.2 function question [Re: adampederson]
gidd Offline
Old Hand
*****

Registered: 06/12/01
Posts: 2103
Loc: California

Chinese ideographic characters are indeed a dual-byte set, Kanji is as well as others. The actual conversion is another issue.
Remedy is not currently native in Chinese, but this may change with the release of Futurama.

Regards...Gidd

-----Original Message-----
From: Action Request System discussion list(ARSList) [mailto:ARSLIST@LISTSERV.VISTAIT.COM]On Behalf Of O'Hara, Jim
Sent: Monday, March 05, 2001 12:58 PM
To: ARSLIST@LISTSERV.VISTAIT.COM
Subject: Re: 4.5.2 function question


Rick,

I think Japanese (Kanji) and other languages need 2 bytes per character.

Jim

-----Original Message-----
From: Rick Cook [mailto:rcook@HDTD.COM]
Sent: March 05, 2001 12:35 PM
To: ARSLIST@LISTSERV.VISTAIT.COM
Subject: 4.5.2 function question



I was reading through the release notes for ARS 4.5.2, and found something I have a question on. One fixed bug said: In LEFT, LENGTH, LOWER, LPAD, RIGHT, and SUBSTR, replace “characters” with “bytes.”.

My question is this: In what instances would the number of characters returned by those functions be different than the number of bytes returned?

Rick Cook
Remedy Consultant
Herrick Douglass Technology Development



Top


Moderator:  Matt Reinfeldt