The search returned 5 results

by Cadou
April 27, 2015 - 1:30 PM
Forum: WAPT Packages
Subject: Accented characters
Answers: 8
Views : 9016

Re: Accented characters

Hello,
thank you for your reply.
Unfortunately, I have the same problem despite using the "u" prefix and the other parameters you gave me.
by Cadou
April 14, 2015 - 3:19 PM
Forum: WAPT Packages
Subject: Accented characters
Answers: 8
Views : 9016

Re: Accented characters

Hello,

After checking, the file properties are UTF-8 no BOM.
I tried with UTF-8 (without BOM) and the result is the same:
when I print('Unassigned computers') I get Unassigned computers,s
by Cadou
April 9, 2015 - 1:53 PM
Forum: WAPT Packages
Subject: Accented characters
Answers: 8
Views : 9016

Re: Accented characters

Indeed, the indentation wasn't correct in my post.
But it seems fine in my file.
Here's the beginning of the code:

# -*- coding: utf-8 -*-
from setuphelpers import *

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []

# command(s) to launch to ...
by Cadou
April 8, 2015 - 4:29 PM
Forum: WAPT Packages
Subject: Accented characters
Answers: 8
Views : 9016

Re: Accented characters

Thank you for your reply.

The setup.py file does indeed begin with the line:
# -*- coding: utf-8 -*-

Please let me know if anything else can be checked.
by Cadou
April 7, 2015 - 11:54
Forum: WAPT Packages
Subject: Accented characters
Answers: 8
Views : 9016

Accented characters

Hello,

I'm currently creating a WAPT package to use a WSUS server in an environment without Active Directory.
I'm not proficient in Python, and despite my research, I can't seem to preserve the character "é" in a string. I've tried several solutions, such as using "u"...