Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Converting UTF8 to Latin1

by grantm (Parson)
on Jun 20, 2012 at 10:16 UTC ( #977283=note: print w/replies, xml ) Need Help??

in reply to Converting UTF8 to Latin1

our database and website pages only support Latin1

As Corion explained, what you've asked for can't be done since the set of possible characters in UTF8 is much bigger than the set of possible characters in Latin-1.

HTML does allow you to represent any character regardless of the encoding. For example, the character 'Ā' is not in Latin-1 but you can include it in HTML with Ā. However that would only work if you stored HTML encoded text in your database - which would be an odd thing to do.

By far the best answer is to update your database and web pages to UTF8.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://977283]
[LanX]: why do you need to see the nodelet without votes left???
[marinersk]: LanX, the problem is that the lack of interface visual stability is disconcerting to me. The Nodelet appearing and disappearing is distracting, and despite over a decade, still troubles me. It jangles me.
[LanX]: I see
[marinersk]: I appear to be unusually dependent on spacial stability. I have had trouble from someone moving an object a mere four inches to the left.
[Eily]: I think the solution is to write posts so brilliant that you gain XP on each refresh, no matter how often :P
[marinersk]: Eily++ and LOL

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2017-05-29 13:55 GMT
Find Nodes?
    Voting Booth?