unicode char feature 1199
svn: r8907
This commit is contained in:
parent
f2b5069647
commit
7935c5ef8a
@ -1,5 +1,8 @@
|
||||
2007-08-31 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/PlaceUtils.py: request #1199
|
||||
* src/PlaceUtils.py: request #1199: replace unicode symbols with u codes
|
||||
|
||||
2007-08-31 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/PlaceUtils.py: request #1199, unicode symbols for ' and " are not recognized
|
||||
|
||||
2007-08-25 Benny Malengier <bm@cage.ugent.be>
|
||||
* src/plugins/rel_de.py : nomeata, bug #1183
|
||||
|
@ -177,8 +177,8 @@ def conv_lat_lon(latitude, longitude, format="D.D4"):
|
||||
#allow to input " as ''
|
||||
val = val.replace( r"''",r'"')
|
||||
#allow some special unicode symbols
|
||||
val = val.replace( u"″",r'"')
|
||||
val = val.replace( u"′",r"'")
|
||||
val = val.replace( u'\u2033',r'"')
|
||||
val = val.replace( u'\u2032',r"'")
|
||||
#ignore spaces
|
||||
val = val.replace(r'\s*', r'')
|
||||
# get the degrees, must be present
|
||||
|
Loading…
Reference in New Issue
Block a user