Bernard,

A small example rst file that demonstrates the issue would be helpful. I,
at least, am one of those pathetic English-only Americans :-)

-CHB



On Wed, Mar 23, 2016 at 1:29 PM, gilberto dos santos alves <[email protected]
> wrote:

> hi. please could you post or share some fragments for we better
> understand. if you use
>
> [1] python virtual environment https://virtualenv.pypa.io/en/latest/ ?
>
>
>
> 2016-03-23 13:15 GMT-03:00 Bernhard Grotz <[email protected]>:
>
>>
>> Hi,
>>
>> * gilberto dos santos alves <[email protected]> [23.03.2016 16:32]:
>> > hi. there is a line with
>> >
>> > # -*- coding: utf-8 -*-
>> >
>> > inside source files?
>>
>> no, I only have the following setting in my conf.py:
>>
>> source_encoding = 'utf-8'
>>
>> For testing, I put ``.. -*- coding: utf-8 -*-`` at the beginning of the
>> RST
>> source files which contain URLs with German Umlaute, but the problem
>> still keeps
>> the same.
>>
>> I think, the problem is that in Python3 strings are unicode by default. In
>> Python2 you can write ``u'hello world'.decode('utf-8')``, in Python3
>> ``'hello world'.decode('utf-8')`` fails, as normal strings do not have a
>> decode()-method.
>>
>> Sadly, I do not know a simple trick to recreate the behavior
>> of Python2 in Python3 without changing the code quite much..
>>
>>
>> Greetings,
>>
>> Bernhard
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sphinx-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/sphinx-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> gilberto dos santos alves
> +55(11)9-8646-5049
> sao paulo - sp - brasil
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to