Re: import vpn configuration failed



On Thu, 2008-10-16 at 16:47 +0800, Bin Li wrote:
> Dan,
> 
> On Tue, Sep 30, 2008 at 6:04 AM, Dan Williams <dcbw redhat com> wrote:
> > On Sun, 2008-09-28 at 17:38 +0800, Bin Li wrote:
> >> Hi,
> >>
> >> When I import a configuration file in the NM-vpnc, it prompt
> >>
> >> (nm-connection-editor:29232): Pango-WARNING **: Invalid UTF-8 string
> >> passed to pango_layout_set_text()
> >>
> >> (nm-connection-editor:29232): Pango-WARNING **: Invalid UTF-8 string
> >> passed to pango_layout_set_text()
> >
> > What's the 'Description' of the .pcf file and is it UTF-8 safe?  Are any
> > of the strings in the file non-UTF8 safe?  If not, what encoding are
> > they in?
> 
> Sorry reply lately, and I just get the information from the customer,
> and the encoding is ISO-8859-15, they got it from the IT department.
> Is there any other way to get the encoding when import this file?

Probably not... The import should be running g_utf8_validate() on the
file contents and then trying to convert to UTF-8 from ISO-8859-15 if we
can, I guess.

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]