Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

473
Views
Serializing Special Characters into DB, is there an alternative to base64?

I'm storing user input into a serialized array in my database.

Later, I deserialize this string into an array to get back my original data.

All works and is fine, but when the user enters really weird characters like these for example
(notice how I'm not talking about characters like ëęæoõö):

⌹ ⌺ ⌻ ⌼ ⍯ ⍰ ⌽ ⌾ ⌿ ⍀ ⍁ ⍂ ⍉ ⍊
more here...

Then my whole site completely messes up... Now I read someone say to base64_encode into database and base64_decode out of the database, but I was wondering if there was any alternative to this?

Thanks in advance,

Nathan

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!