Search notes:

UTL_I18N.STRING_TO_RAW

utl_i18n.string_to_raw converts a varchar2 or nvarchar2 to a binary representation in a given character set and returns the corresponding value as a raw.
column default_ format a14
column latin_1  format a11
column utf_8    format a14

select
   regexp_replace(utl_i18n.string_to_raw('René'                ), '(..)', '\1 ')  default_,
   regexp_replace(utl_i18n.string_to_raw('René', 'we8iso8859p1'), '(..)', '\1 ')  latin_1,
   regexp_replace(utl_i18n.string_to_raw('René', 'utf8'        ), '(..)', '\1 ')  utf_8
from
   dual;
--
-- DEFAULT_         LATIN_1       UTF_8         
-- --------------   -----------   --------------
-- 52 65 6E C3 A9   52 65 6E E9   52 65 6E C3 A9

See also

string_to_raw being used in dbms_crypto.hash to calculate an MD5 hash from a string.
utl_raw.convert
utl_i18n

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...', 1758199430, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/packages/utl/i18n/api/string_to_raw(58): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78