|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, September 04, 2009 10:38 AM
Points: 3,
Visits: 11
|
|
Hi,
Have you used the Irony library (Irony.dll) like it is in http://irony.codeplex.com/, or have you made same changes?
I am trying to look in Irony code to incorporate portuguese caracters (not suported until now), but when I try to run you code with Irony.dll from http://irony.codeplex.com gives some error.
Thanks & Regards, Rui
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Today @ 5:21 PM
Points: 3,060,
Visits: 12,449
|
|
Portuguese is standard Latin alphabet western European language that you can support by using System.Text.Encoding in .NET and using either Portuguese Windows collation so you can separate Portugal Portuguese from either Brazilian or Angolan. That is going to VS2005/8 Advanced save as and save you code as Portuguese.
It helps if you start with translated text so it is just simple encoding and collation, in .NET 3.5 most known languages and text encoding formats are supported by default. Post again if you still need help.
Kind regards, Gift Peddie
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, September 04, 2009 10:38 AM
Points: 3,
Visits: 11
|
|
Gift Peddie (8/19/2009) Portuguese is standard Latin alphabet western European language that you can support by using System.Text.Encoding in .NET and using either Portuguese Windows collation so you can separate Portugal Portuguese from either Brazilian or Angolan. That is going to VS2005/8 Advanced save as and save you code as Portuguese.
It helps if you start with translated text so it is just simple encoding and collation, in .NET 3.5 most known languages and text encoding formats are supported by default. Post again if you still need help.
Hi Gift, I am using the Windows-1252 code page that includes Portuguese characters. But when I try to search a word with an Portuguese character appears a error message saying that the character are not valid. Regards, Rui
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Today @ 5:21 PM
Points: 3,060,
Visits: 12,449
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, September 04, 2009 10:38 AM
Points: 3,
Visits: 11
|
|
The problem is not in SQL database. In database all text are saved correctly. My question is about using the code from article “A Google-like Full Text Search”, and message error about the Portuguese characters appears when I try to convert a word with a Portuguese character.
Thanks & Regards, Rui
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Today @ 5:21 PM
Points: 3,060,
Visits: 12,449
|
|
That article is calling a .NET dll that is parsing text on the binary level, you really don't need to parse most Western European text on the binary level. So you could just use a combination or saving .NET code as Portuguese per my first post or do Text encoding using Portuguese encoding before using the Google like search. The reason the article added Case statements to ANSI SQL predefined and Microsoft implemented Full Text predicates.
Kind regards, Gift Peddie
|
|
|
|