Interesting Gotcha

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I just discovered the following:

chr(140) = "OE"
chr(156) = "OE"
chr(198) = "AE"
chr(222) = "TH"
chr(223) = "SS"
chr(230) = "AE"
chr(254) = "TH"

-zorpy
 
I don't know what you are doing but those are all false to me..

Console.WriteLine(Chr(140) = "OE")

Console.WriteLine(Chr(156) = "OE")

Console.WriteLine(Chr(198) = "AE")

Console.WriteLine(Chr(222) = "TH")

Console.WriteLine(Chr(223) = "SS")

Console.WriteLine(Chr(230) = "AE")

Console.WriteLine(Chr(254) = "TH")



all returns false not true so they are NOT equal
 
Zopry,
See my previous message.

This confirms my suspicion, that you are using Option Compare Text, as I
understand that:

AE is a common replacement for Æ - chr(198)
ae is a common replacement for æ - chr(230)
SS is a common replacement for ß - chr(223) (actually I understand that
SS is an upper case ß)
OE is a common replacement for O - chr(140)
oe is a common replacement for o - chr(156)

I would expect that TH is a common replacement for Þ, however I have not
seen or used Þ, then again I see more German then Icelandic.

By "common replacement" I mean in ASCII or US typewriters that only have
characters A to Z & a to z...

Hope this helps
Jay


|I just discovered the following:
|
| chr(140) = "OE"
| chr(156) = "OE"
| chr(198) = "AE"
| chr(222) = "TH"
| chr(223) = "SS"
| chr(230) = "AE"
| chr(254) = "TH"
|
| -zorpy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top