A function to get the number of UTF-8 bytes and characters in a Sybase ASE string

Let's take a look at the functions to find the number of UTF-8 bytes and characters in Sybase ASE DBMS. This function was created and used in a project that converts from Sybase ASE Non-Unicode encoding, EUC-KSC, to Unicode encoding, UTF-8. * UTF-8 encoding Reference: UTF-8 – Wikipedia, the encyclopedia of all of us (wikipedia.org) EUC-KSC converts columns declared as varchar(10) to UTF-8...