in reply to Re: Malformed UTF-8 char when publishing in Net::AMQP::RabbitMQ
in thread Malformed UTF-8 char when publishing in Net::AMQP::RabbitMQ
I also noticed that the publish method takes in props : content_type => $string and content_encoding => $string. Could it be that Net::RabbitMQ has default encoding UTF8 but Net::AMQP::RabbitMQ doesnt? And if so how can I specify so that it uses UTF8? What do you think?SV = NULL(0x0) at 0xd9b5f0 REFCNT = 1 FLAGS = () SV = PVLV(0xda5d30) at 0xd7efd0 REFCNT = 1 FLAGS = (TEMP,GMG,SMG) IV = 0 NV = 0 PV = 0 MAGIC = 0xdab340 MG_VIRTUAL = &PL_vtbl_defelem MG_TYPE = PERL_MAGIC_defelem(y) MG_FLAGS = 0x02 REFCOUNTED MG_OBJ = 0xd7eb98 SV = PV(0xd7cb78) at 0xd7eb98 REFCNT = 1 FLAGS = (POK,pPOK) PV = 0xdab730 "body"\0 CUR = 4 LEN = 8 TYPE = y TARGOFF = 0 TARGLEN = 1 TARG = 0xd7ed48 SV = PVHV(0xd84f90) at 0xd7ed48 REFCNT = 2 FLAGS = (SHAREKEYS) ARRAY = 0x0 KEYS = 0 FILL = 0 MAX = 7 RITER = -1 EITER = 0x0
|
|---|