Strip off non-Latin-1 characters
authorfbriere <fbriere>
Sat, 18 Feb 2006 06:29:01 +0000 (06:29 +0000)
committerfbriere <fbriere>
Sat, 18 Feb 2006 06:29:01 +0000 (06:29 +0000)
t/20emit.t

index 2fca9bd..8ba4804 100755 (executable)
@@ -61,7 +61,7 @@ use constant TRANSACTIONS => (
                card_number     => '5111-1111-1111-1111',
                exp_date        => '7/2004',
 
-               name            => "Fr\x{e9}d\x{e9}ric Bri\x{e8}re",
+               name            => "\x{201c}Fr\x{e9}d\x{e9}ric Bri\x{e8}re\x{201d}",
 
                amount          => 12.95,
                description     => "Box o' goodies",
@@ -141,7 +141,7 @@ __DATA__
   <CVV2>0</CVV2>
   <CVV2Indicator></CVV2Indicator>
   <Products>12.95::1::::Box o' goodies::{USD}{GST}{TEST}</Products>
-  <xxxName>Frédéric Brière</xxxName>
+  <xxxName>?Frédéric Brière?</xxxName>
   <xxxCompany></xxxCompany>
   <xxxAddress></xxxAddress>
   <xxxCity></xxxCity>