Skip to content

Commit

Permalink
Convert unicode characters to ASCII for greater compatibility: em das…
Browse files Browse the repository at this point in the history
…h — to --, en dash – to -, ’ to ', é to e
  • Loading branch information
peter277 authored and jleclanche committed Apr 22, 2024
1 parent 5163588 commit 368e3b9
Show file tree
Hide file tree
Showing 6 changed files with 198 additions and 197 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__
16 changes: 8 additions & 8 deletions iso18245/data/alipay_list.csv
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ MCC,DESCRIPTION
5111,"Stationery, office supplies and printing and writing paper"
5122,"Drugs, drug proprietors"
5131,"Piece goods, notions and other dry goods"
5137,"Mens, womens and childrens uniforms and commercial clothing"
5137,"Men's, women's and children's uniforms and commercial clothing"
5139,Commercial footwear
5169,Chemicals and allied products - not elsewhere classified
5192,"Books, periodicals and newspapers"
5193,"Florists supplies, nursery stock and flowers"
5193,"Florists' supplies, nursery stock and flowers"
5198,"Paints, varnishes and supplies"
5199,Non-durable goods - not elsewhere classified
5200,Home supply warehouse outlets
Expand Down Expand Up @@ -92,15 +92,15 @@ MCC,DESCRIPTION
5592,Motor home dealers
5598,Snowmobile dealers
5599,"Miscellaneous automotive, aircraft and farm equipment dealers -not elsewhere classified"
5611,Mens and boys clothing and accessory shops
5621,Womens ready-to-wear shops
5631,Womens accessory and speciality shops
5641,Childrens and infants wear shops
5611,Men's and boys' clothing and accessory shops
5621,Women's ready-to-wear shops
5631,Women's accessory and speciality shops
5641,Children's and infants' wear shops
5651,Family clothing shops
5655,Sports and riding apparel shops
5661,Shoe shops
5681,Furriers and fur shops
5691,Mens and womens clothing shops
5691,Men's and women's clothing shops
5697,"Tailors, seamstresses, mending and alterations"
5698,Wig and toupee shops
5699,Miscellaneous apparel and accessory shops
Expand All @@ -117,7 +117,7 @@ MCC,DESCRIPTION
5735,Record shops
5811,Caterers
5812,Eating places and restaurants
5813,"Drinking places (alcoholic beverages) - bars, taverns, night-clubs, cocktail lounges and discothèques"
5813,"Drinking places (alcoholic beverages) - bars, taverns, night-clubs, cocktail lounges and discotheques"
5814,Fast food restaurants
5815,"Digital Goods-Media, Books, Movies, Music"
5816,Digital Goods-Games
Expand Down
124 changes: 62 additions & 62 deletions iso18245/data/iso18245_official_list.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ MCC,DESCRIPTION
0744,Champagne producers
0763,Agricultural co-operatives
0780,Landscaping and horticultural services
1520,General contractors residential and commercial
1520,General contractors -- residential and commercial
1711,"Heating, plumbing and air-conditioning contractors"
1731,Electrical contractors
1740,"Masonry, stonework, tile setting, plastering and insulation contractors"
1750,Carpentry contractors
1761,"Roofing, siding and sheet metal work contractors"
1771,Concrete work contractors
1799,Special trade contractors not elsewhere classified
1799,Special trade contractors -- not elsewhere classified
2741,Miscellaneous publishing and printing services
2791,"Typesetting, platemaking and related services"
2842,"Speciality cleaning, polishing and sanitation preparations"
Expand All @@ -21,50 +21,50 @@ MCC,DESCRIPTION
4119,Ambulance services
4121,Taxi-cabs and limousines
4131,Bus lines
4214,"Motor freight carriers and trucking local and long distance, moving and storage companies and local delivery"
4215,Courier services air and ground and freight forwarders
4225,"Public warehousing and storage farm products, refrigerated goods and household goods"
4214,"Motor freight carriers and trucking -- local and long distance, moving and storage companies and local delivery"
4215,Courier services -- air and ground and freight forwarders
4225,"Public warehousing and storage -- farm products, refrigerated goods and household goods"
4411,Steamships and cruise lines
4457,Boat rentals and leasing
4468,"Marinas, marine service and supplies"
4511,Airlines and air carriers
4582,"Airports, flying fields and airport terminals"
4722,Travel agencies and tour operators
4784,Tolls and bridge fees
4789,Transportation services not elsewhere classified
4789,Transportation services -- not elsewhere classified
4812,Telecommunication equipment and telephone sales
4814,"Telecommunication services, including local and long distance calls, credit card calls, calls through use of magnetic stripe reading telephones and faxes"
4815,Monthly summary telephone charges
4816,Computer network/information services
4821,Telegraph services
4829,Wire transfers and money orders
4899,Cable and other pay television services
4900,"Utilities electric, gas, water and sanitary"
4900,"Utilities -- electric, gas, water and sanitary"
5013,Motor vehicle supplies and new parts
5021,Office and commercial furniture
5039,Construction materials not elsewhere classified
5039,Construction materials -- not elsewhere classified
5044,"Office, photographic, photocopy and microfilm equipment"
5045,"Computers, computer peripheral equipment not elsewhere classified"
5046,Commercial equipment not elsewhere classified
5045,"Computers, computer peripheral equipment -- not elsewhere classified"
5046,Commercial equipment -- not elsewhere classified
5047,Dental/laboratory/medical/ophthalmic hospital equipment and supplies
5051,Metal service centres and offices
5065,Electrical parts and equipment
5072,Hardware equipment and supplies
5074,Plumbing and heating equipment and supplies
5085,Industrial supplies not elsewhere classified
5085,Industrial supplies -- not elsewhere classified
5094,"Precious stones and metals, watches and jewellery"
5099,Durable goods not elsewhere classified
5099,Durable goods -- not elsewhere classified
5111,"Stationery, office supplies and printing and writing paper"
5122,"Drugs, drug proprietors"
5131,"Piece goods, notions and other dry goods"
5137,"Mens, womens and childrens uniforms and commercial clothing"
5137,"Men's, women's and children's uniforms and commercial clothing"
5139,Commercial footwear
5169,Chemicals and allied products not elsewhere classified
5169,Chemicals and allied products -- not elsewhere classified
5172,Petroleum and petroleum products
5192,"Books, periodicals and newspapers"
5193,"Florists supplies, nursery stock and flowers"
5193,"Florists' supplies, nursery stock and flowers"
5198,"Paints, varnishes and supplies"
5199,Non-durable goods not elsewhere classified
5199,Non-durable goods -- not elsewhere classified
5200,Home supply warehouse outlets
5211,Lumber and building materials outlets
5231,"Glass, paint and wallpaper shops"
Expand All @@ -82,7 +82,7 @@ MCC,DESCRIPTION
5441,"Candy, nut and confectionery shops"
5451,Dairies
5462,Bakeries
5499,Miscellaneous food shops convenience and speciality retail outlets
5499,Miscellaneous food shops -- convenience and speciality retail outlets
5511,"Car and truck dealers (new and used) sales, services, repairs, parts and leasing"
5521,"Car and truck dealers (used only) sales, service, repairs, parts and leasing"
5531,Auto and home supply outlets
Expand All @@ -95,16 +95,16 @@ MCC,DESCRIPTION
5571,Motorcycle shops and dealers
5592,Motor home dealers
5598,Snowmobile dealers
5599,"Miscellaneous automotive, aircraft and farm equipment dealers not elsewhere classified"
5611,Mens and boys clothing and accessory shops
5621,Womens ready-to-wear shops
5631,Womens accessory and speciality shops
5641,Childrens and infants wear shops
5599,"Miscellaneous automotive, aircraft and farm equipment dealers -- not elsewhere classified"
5611,Men's and boys' clothing and accessory shops
5621,Women's ready-to-wear shops
5631,Women's accessory and speciality shops
5641,Children's and infants' wear shops
5651,Family clothing shops
5655,Sports and riding apparel shops
5661,Shoe shops
5681,Furriers and fur shops
5691,Mens and womens clothing shops
5691,Men's and women's clothing shops
5697,"Tailors, seamstresses, mending and alterations"
5698,Wig and toupee shops
5699,Miscellaneous apparel and accessory shops
Expand All @@ -116,21 +116,21 @@ MCC,DESCRIPTION
5719,Miscellaneous home furnishing speciality shops
5722,Household appliance shops
5732,Electronics shops
5733,"Music shops musical instruments, pianos and sheet music"
5733,"Music shops -- musical instruments, pianos and sheet music"
5734,Computer software outlets
5735,Record shops
5811,Caterers
5812,Eating places and restaurants
5813,"Drinking places (alcoholic beverages) bars, taverns, night-clubs, cocktail lounges and discothèques"
5813,"Drinking places (alcoholic beverages) -- bars, taverns, night-clubs, cocktail lounges and discotheques"
5814,Fast food restaurants
5912,Drug stores and pharmacies
5921,"Package shops beer, wine and liquor"
5921,"Package shops -- beer, wine and liquor"
5931,Used merchandise and second-hand shops
5932,"Antique shops sales, repairs and restoration services"
5932,"Antique shops -- sales, repairs and restoration services"
5933,Pawn shops
5935,Wrecking and salvage yards
5937,Antique reproduction shops
5940,Bicycle shops sales and service
5940,Bicycle shops -- sales and service
5941,Sporting goods shops
5942,Bookshops
5943,"Stationery, office and school supply shops"
Expand All @@ -141,43 +141,43 @@ MCC,DESCRIPTION
5948,Luggage and leather goods shops
5949,"Sewing, needlework, fabric and piece goods shops"
5950,Glassware and crystal shops
5960,Direct marketing insurance services
5962,Telemarketing travel-related arrangement services
5960,Direct marketing -- insurance services
5962,Telemarketing -- travel-related arrangement services
5963,Door-to-door sales
5964,Direct marketing catalogue merchants
5965,Direct marketing combination catalogue and retail merchants
5966,Direct marketing outbound telemarketing merchants
5967,Direct marketing inbound telemarketing merchants
5968,Direct marketing continuity/subscription merchants
5969,Direct marketing/direct marketers not elsewhere classified
5964,Direct marketing -- catalogue merchants
5965,Direct marketing -- combination catalogue and retail merchants
5966,Direct marketing -- outbound telemarketing merchants
5967,Direct marketing -- inbound telemarketing merchants
5968,Direct marketing -- continuity/subscription merchants
5969,Direct marketing/direct marketers -- not elsewhere classified
5970,Artist supply and craft shops
5971,Art dealers and galleries
5972,Stamp and coin shops
5973,Religious goods and shops
5975,"Hearing aids sales, service and supplies"
5975,"Hearing aids -- sales, service and supplies"
5976,Orthopaedic goods and prosthetic devices
5978,"Typewriter outlets sales, service and rentals"
5983,"Fuel dealers fuel oil, wood, coal and liquefied petroleum"
5978,"Typewriter outlets -- sales, service and rentals"
5983,"Fuel dealers -- fuel oil, wood, coal and liquefied petroleum"
5992,Florists
5993,Cigar shops and stands
5994,Newsagents and news-stands
5995,"Pet shops, pet food and supplies"
5996,"Swimming pools sales, supplies and services"
5997,Electric razor outlets sales and service
5996,"Swimming pools -- sales, supplies and services"
5997,Electric razor outlets -- sales and service
5998,Tent and awning shops
5999,Miscellaneous and speciality retail outlets
6010,Financial institutions manual cash disbursements
6011,Financial institutions automated cash disbursements
6012,Financial institutions merchandise and services
6051,"Non-financial institutions foreign currency, money orders (not wire transfer), scrip and travellers checks"
6211,Securities brokers and dealers
6010,Financial institutions -- manual cash disbursements
6011,Financial institutions -- automated cash disbursements
6012,Financial institutions -- merchandise and services
6051,"Non-financial institutions -- foreign currency, money orders (not wire transfer), scrip and travellers' checks"
6211,Securities -- brokers and dealers
6300,"Insurance sales, underwriting and premiums"
7011,"Lodging hotels, motels and resorts"
7011,"Lodging -- hotels, motels and resorts"
7012,Timeshares
7032,Sporting and recreational camps
7033,Trailer parks and camp-sites
7210,"Laundry, cleaning and garment services"
7211,Laundry services family and commercial
7211,Laundry services -- family and commercial
7216,Dry cleaners
7217,Carpet and upholstery cleaning
7221,Photographic studios
Expand All @@ -186,12 +186,12 @@ MCC,DESCRIPTION
7261,Funeral services and crematoriums
7273,Dating and escort services
7276,Tax preparation services
7277,"Counselling services debt, marriage and personal"
7277,"Counselling services -- debt, marriage and personal"
7278,Buying and shopping services and clubs
7296,"Clothing rentals costumes, uniforms and formal wear"
7296,"Clothing rentals -- costumes, uniforms and formal wear"
7297,Massage parlours
7298,Health and beauty spas
7299,Miscellaneous personal services not elsewhere classified
7299,Miscellaneous personal services -- not elsewhere classified
7311,Advertising services
7321,Consumer credit reporting agencies
7322,Debt collection agencies
Expand All @@ -203,12 +203,12 @@ MCC,DESCRIPTION
7361,Employment agencies and temporary help services
7372,"Computer programming, data processing and integrated systems design services"
7375,Information retrieval services
7379,Computer maintenance and repair services not elsewhere classified
7379,Computer maintenance and repair services -- not elsewhere classified
7392,"Management, consulting and public relations services"
7393,"Detective agencies, protective agencies and security services, including armoured cars and guard dogs"
7394,"Equipment, tool, furniture and appliance rentals and leasing"
7395,Photofinishing laboratories and photo developing
7399,Business services not elsewhere classified
7399,Business services -- not elsewhere classified
7512,Automobile rentals
7513,Truck and utility trailer rentals
7519,Motor home and recreational vehicle rentals
Expand All @@ -231,7 +231,7 @@ MCC,DESCRIPTION
7841,Video tape rentals
7911,"Dance halls, studios and schools"
7922,Theatrical producers (except motion pictures) and ticket agencies
7929,"Bands, orchestras and miscellaneous entertainers not elsewhere classified"
7929,"Bands, orchestras and miscellaneous entertainers -- not elsewhere classified"
7932,Billiard and pool establishments
7933,Bowling alleys
7941,"Commercial sports, professional sports clubs, athletic fields and sports promoters"
Expand All @@ -243,8 +243,8 @@ MCC,DESCRIPTION
7996,"Amusement parks, circuses, carnivals and fortune tellers"
7997,"Membership clubs (sports, recreation, athletic), country clubs and private golf courses"
7998,"Aquariums, seaquariums and dolphinariums"
7999,Recreation services not elsewhere classified
8011,Doctors and physicians not elsewhere classified
7999,Recreation services -- not elsewhere classified
8011,Doctors and physicians -- not elsewhere classified
8021,Dentists and orthodontists
8031,Osteopaths
8041,Chiropractors
Expand All @@ -254,28 +254,28 @@ MCC,DESCRIPTION
8050,Nursing and personal care facilities
8062,Hospitals
8071,Medical and dental laboratories
8099,Medical services and health practitioners not elsewhere classified
8099,Medical services and health practitioners -- not elsewhere classified
8111,Legal services and attorneys
8211,Elementary and secondary schools
8220,"Colleges, universities, professional schools and junior colleges"
8241,Correspondence schools
8244,Business and secretarial schools
8249,Trade and vocational schools
8299,Schools and educational services not elsewhere classified
8299,Schools and educational services -- not elsewhere classified
8351,Child care services
8398,Charitable and social service organizations
8641,"Civic, social and fraternal associations"
8651,Political organizations
8661,Religious organizations
8675,Automobile associations
8699,Membership organization not elsewhere classified
8699,Membership organization -- not elsewhere classified
8734,Testing laboratories (non-medical)
8911,"Architectural, engineering and surveying services"
8931,"Accounting, auditing and bookkeeping services"
8999,Professional services not elsewhere classified
8999,Professional services -- not elsewhere classified
9211,"Court costs, including alimony and child support"
9222,Fines
9223,Bail and bond payments
9311,Tax payments
9399,Government services not elsewhere classified
9402,Postal services government only
9399,Government services -- not elsewhere classified
9402,Postal services -- government only
8 changes: 4 additions & 4 deletions iso18245/data/stripe_list.csv
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ MCC,DESCRIPTION,STRIPE CODE
5812,"Eating Places, Restaurants",eating_places_restaurants
5813,Drinking Places,drinking_places
5814,Fast Food Restaurants,fast_food_restaurants
5815,"Digital Goods Media Books, Movies, Music",digital_goods_media
5816,Digital Goods Games,digital_goods_games
5817,Digital Goods Applications (Excludes Games),digital_goods_applications
5818,Digital Goods Large Digital Goods Merchant,digital_goods_large_volume
5815,"Digital Goods Media - Books, Movies, Music",digital_goods_media
5816,Digital Goods - Games,digital_goods_games
5817,Digital Goods - Applications (Excludes Games),digital_goods_applications
5818,Digital Goods - Large Digital Goods Merchant,digital_goods_large_volume
5912,Drug Stores and Pharmacies,drug_stores_and_pharmacies
5921,"Package Stores-Beer, Wine, and Liquor",package_stores_beer_wine_and_liquor
5931,Used Merchandise and Secondhand Stores,used_merchandise_and_secondhand_stores
Expand Down
Loading

0 comments on commit 368e3b9

Please sign in to comment.