lib/peddler/marketplace.rb in peddler-2.1.0 vs lib/peddler/marketplace.rb in peddler-2.1.1
- old
+ new
@@ -37,12 +37,9 @@
def not_found!(country_code)
raise ArgumentError, %("#{country_code}" is not a valid marketplace)
end
end
- # Caveat: We use supersets Windows-31J and CP1252 in place of Shift_JIS and
- # ISO 8859-1 respectively to handle some edge cases. These should be safe to
- # drop in as replacements.
def encoding
case country_code
when 'JP'
'Windows-31J'
when 'CN'