Charecter set utf(drupal)->iso(news_server)
kors4r@www.zale... - January 7, 2006 - 00:44
| Project: | Netnews (NNTP) |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi!
I have some sites in polish. This module is very good, but for english news groups.
Drupal work with utf character set, but on usenet servers with polish groups only iso-8859-2 is accepted.
So: in admin site, by adding a net_news_link, should be a select input like "News groups character set" and list of characters.
Best regards
kors4r

#1
in netnews.module I added function drupal_convert_to_utf8(), and now body is converted from iso-8859-2 (charater set of nntp group), but still I can't convert a subject of nntp message
iconv_get_encoding doesn't work (return empty value)
how can I econde a header? any sugestions?
best regards