i got a string with

string(254) "5L2b5a6255yf6KiAOuimgeWWhOW+heWIq+S6uizopoHlloTlvoXlj5HnroDorq/nu5nkvaDnmoTo
v5nkuKrkuros6KaB57uP5bi46K+35aW55ZCD6aWtLOW4uOivt+S7luWHuuWOu+eOqSzluLjkubDn
pLzniannu5nlpbks5bCG5L2g6Lqr5LiK572q5oG255qE6YeR6ZKx5YWo6YOo57uZ5aW5LOS9m+el
luS8muS/neS9keS9oCE="

how can i put it in 1 line and interpret it?

Is that really a utf-8 string ? Seems text garbled, or text encoded differently. To deal with utf-8 content we can use utf8_encode() / utf8_decode() functions.

Is that really a utf-8 string ? Seems text garbled, or text encoded differently. To deal with utf-8 content we can use utf8_encode() / utf8_decode() functions.

d string is retrieve from email with header

Content-Type: text/plain;
	charset=UTF-8
Content-Transfer-Encoding: base64

so I assume its a UTF-8 string

problem solved!

the UTF-8 string need to be decoded with base64 first to be readable form.

sorry for the misunderstood

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.