~hectane/hectane/golang-github-kennygrant-sanitize

« back to all changes in this revision

Viewing changes to sanitize.go

  • Committer: GitHub
  • Author(s): Kenny Grant
  • Date: 2018-08-06 07:23:04 UTC
  • mfrom: (38.1.2)
  • Revision ID: git-v1:92c6ad953f5fcd4fd09596ea534250548baaf6b2
Merge pull request #22 from retailify/master

corrected german transliterations - just going to merge this as the changes are not huge and think are reasonable. I'd prefer caps to translate to all caps though because of the intended use of this - I'd rather preserve case so that an all uppercase or all lowercase word will stay the same case. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
        'Ó': "O",
240
240
        'Ô': "O",
241
241
        'Õ': "O",
242
 
        'Ö': "O",
 
242
        'Ö': "Oe",
243
243
        'Ø': "OE",
244
244
        'Ù': "U",
245
245
        'Ú': "U",
246
 
        'Ü': "U",
 
246
        'Ü': "Ue",
247
247
        'Û': "U",
248
248
        'Ý': "Y",
249
249
        'Þ': "Th",
252
252
        'á': "a",
253
253
        'â': "a",
254
254
        'ã': "a",
255
 
        'ä': "a",
 
255
        'ä': "ae",
256
256
        'å': "aa",
257
257
        'æ': "ae",
258
258
        'ç': "c",
273
273
        'ô': "o",
274
274
        'õ': "o",
275
275
        'ō': "o",
276
 
        'ö': "o",
 
276
        'ö': "oe",
277
277
        'ø': "oe",
278
278
        'ś': "s",
279
279
        'ù': "u",
280
280
        'ú': "u",
281
281
        'û': "u",
282
282
        'ū': "u",
283
 
        'ü': "u",
 
283
        'ü': "ue",
284
284
        'ý': "y",
285
285
        'þ': "th",
286
286
        'ÿ': "y",