Search notes:

VBA function: strConv

option explicit

sub main() ' {

    dim bytes() as byte
    bytes = strConv("Ren�", vbFromUnicode)
'   bytes = strConv("Ren�", vbUnicode)

    debug.print("Length of bytes: " & uBound(bytes) - lBound(bytes) + 1)
    dim pos as long
    for pos = lBound(bytes) to uBound(bytes)
        debug.print(chr(bytes(pos)) & " (" & bytes(pos) & ")")
    next pos

end sub ' }
Github repository about-VBA, path: /functions/string/strConv.vb

See also

VBA functions

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1740090857, '18.226.94.242', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/VBA/functions/string/strConv(52): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78