/    Sign up×
Community /Pin to ProfileBookmark

Handling multiple character sets

Hello members,

I hope you can help me with some coding.

Our users can submit a description of their service. Because they come from a lot of different countries and add the description in their own language, I have a lot of umlauts, French characters, Spanish, etc.

These descriptions look kinda spooky right now, because I don’t know how to convert these into standard characters in PHP.

If one of you knows how to handle different characters sets and to all display them right, please post how I can fix it.

Thanks!

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@bokehOct 11.2005 — Your main problem is recognising the input. Somehow you need to be able to find the input encoding type when the text is entered. Once you know this all you need to do is convert to UTF-8.
×

Success!

Help @hostingspeeds spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...