unicode char feature 1199

svn: r8902
This commit is contained in:
Benny Malengier 2007-08-31 10:00:34 +00:00
parent 04a991bc9b
commit f2b5069647
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2007-08-31 Benny Malengier <benny.malengier@gramps-project.org>
* src/PlaceUtils.py: request #1199
2007-08-25 Benny Malengier <bm@cage.ugent.be>
* src/plugins/rel_de.py : nomeata, bug #1183

View File

@ -176,6 +176,9 @@ def conv_lat_lon(latitude, longitude, format="D.D4"):
val = val.replace( r'#',r'_')
#allow to input " as ''
val = val.replace( r"''",r'"')
#allow some special unicode symbols
val = val.replace( u"",r'"')
val = val.replace( u"",r"'")
#ignore spaces
val = val.replace(r'\s*', r'')
# get the degrees, must be present