encoding: latin1 auf utf-8 konvertieren

Bash, Shell, PHP, Python, Perl, CGI
jackis
Posts: 6
Joined: 2006-01-01 12:44

encoding: latin1 auf utf-8 konvertieren

Post by jackis » 2006-01-01 12:52

Ich habe sql damp, wie kann ich es von latin1 auf utf-8 konvertieren?

User avatar
Joe User
Project Manager
Project Manager
Posts: 11603
Joined: 2003-02-27 01:00
Location: Hamburg

Re: encoding: latin1 auf utf-8 konvertieren

Post by Joe User » 2006-01-01 12:57

man iconv
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.

jackis
Posts: 6
Joined: 2006-01-01 12:44

Re: encoding: latin1 auf utf-8 konvertieren

Post by jackis » 2006-01-01 13:53

Ist das correct:
iconv -f latin1 -t utf8 1.sql > 2.sql
?

User avatar
Joe User
Project Manager
Project Manager
Posts: 11603
Joined: 2003-02-27 01:00
Location: Hamburg

Re: encoding: latin1 auf utf-8 konvertieren

Post by Joe User » 2006-01-01 17:50

Ja.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.