Skip to content

Commit

Permalink
inverntory
Browse files Browse the repository at this point in the history
  • Loading branch information
hoornet committed Dec 25, 2009
1 parent b418b0b commit d67f006
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions PlayArounds/miscTests.rb
Expand Up @@ -322,14 +322,14 @@ def _conv(s)
if EncodeOk
from_to(s, cpANSI, cpOEM)
elsif @@cp == 'cp1252cp850' # WinLatin1 --> DOSLatin1
s.tr!("??????????????????????????????????????????????????????????????????????????????????????????????????Á?£???????????????????????????????????????????????????????????","??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????")
s.tr!("??????????????????????????????????????????????????????????????????????????????????????????????????Á?Ł???????????????????????????????????????????????????????????","??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????")
elsif @@cp == 'cp1252cp437' # WinLatin1 --> DOSLatinUS
s.tr!("??????????????????????????????????????????????????????????????????????????????????????????????????Á?£???????????????????????????????????????????????????????????", "?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????")
s.tr!("??????????????????????????????????????????????????????????????????????????????????????????????????Á?Ł???????????????????????????????????????????????????????????", "?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????")
elsif @@cp == 'cp1250cp852' # WinLatin2 --> DOSLatin2
s.tr!("??????????????????????????????????????????????????????????????????????????????????????????????????Á?£???????????????????????????????????????????????????????????",
s.tr!("??????????????????????????????????????????????????????????????????????????????????????????????????Á?Ł???????????????????????????????????????????????????????????",
"????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????" )
elsif @@cp == 'cp1251cp855' # WinCyrillic --> DOSCyrillic
s.tr!("??????????????????????????????????????????????????????????????????????????????????????????????????Á?£???????????????????????????????????????????????????????????",
s.tr!("??????????????????????????????????????????????????????????????????????????????????????????????????Á?Ł???????????????????????????????????????????????????????????",
"????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????")
end
end
Expand Down

0 comments on commit d67f006

Please sign in to comment.