Re: How to convert base64 string to utf-8

2004-02-06 Thread Guido Flohr
Hi, ALexander N. Treyner wrote: hello =?windows-1255?Q?=F9=EC=E5=ED_hello_world?= After converting it by code you wrote into utf-8, the "_" is still present between second "hello" and "world". Is it right behavior? You can re-invent the wheel for that problem, or simply use MIME::Words,

Re: How to convert base64 string to utf-8

2004-02-06 Thread Nick Ing-Simmons
Guido Flohr <[EMAIL PROTECTED]> writes: >ALexander N. Treyner wrote: >> Hello All, >> I'm using utf-8 Postgres database, where I save strings in many languages. >> I have to match the database with strings encoded in mime base64 or >> quoted-printable format. Like next: >> =?utf-8?B?15TXoNeUINee16

Re: How to convert base64 string to utf-8

2004-02-06 Thread Nick Ing-Simmons
ALexander N. Treyner <[EMAIL PROTECTED]> writes: >Hi John, >Your code works perfect. >But I found one strange thing. >For example I have next string: > > hello hello world > >that converted by the mail client to > > hello =?windows-1255?Q?=F9=EC=E5=ED_hello_world?= >