Skip to content

Commit

Permalink
Enable utf-8 support in schema transformer
Browse files Browse the repository at this point in the history
To support utf-8 characters in resource name,
the default encoding needs to be changed to 'utf-8'
for schema transformer as well.

Change-Id: Iebf3344820519ef2ca3e8f5a72fa697ebc40e982
Partial-Bug: #1396894
  • Loading branch information
numansiddique committed Feb 11, 2015
1 parent 3830550 commit 0b30de4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config/schema-transformer/to_bgp.py
Expand Up @@ -14,6 +14,8 @@
from gevent import monkey
monkey.patch_all()
import sys
reload(sys)
sys.setdefaultencoding('UTF8')
import requests
import ConfigParser
import cgitb
Expand Down

0 comments on commit 0b30de4

Please sign in to comment.