Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-10

Chinese/Japanese codepages to UTF8

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

EarMaster - Bent Olsen

Hi,

The unit LConvEncoding has some functions to convert between codepages and UTF8, like CP1252ToUTF8 and UTF8ToCP1252, but codepages for Chinese or Japanese isn't supported.

What do others use to convert text with these codepages to UTF8?

Best regards,
Normann

Reply by email

ik
to EarMaster - Bent Olsen

I'm using iconv (Marco made a unit for it if i remember correctly) that converts one charset to another.

Ido

EarMaster - Bent Olsen wrote 15 lines
Hi, The unit LConvEncoding has some functions to convert between codepages and UTF8, like CP1252ToUTF8 and UTF8ToCP1252, but codepages for Chinese or Japanese isn't supported. What do others use to convert text with these codepages to UTF8? Best regards, Normann _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Marco van de Voort
to ik

In our previous episode, ik said:

I'm using iconv (Marco made a unit for it if i remember correctly) that converts one charset to another.

It was actually meant to be a fundament of the unix implementation of lconvencoding.

But iirc it didn't make 2.2.2 due to some confusion over merging, so it is not active there yet.

Reply by email