unicode char feature 1199
svn: r8902
This commit is contained in:
parent
04a991bc9b
commit
f2b5069647
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user