LOGIC Library

This site is the Logic involvement in sharing expertise and skills acquired in daily work. The goal is to create a solid knowledge base and share best practices in software development and systems management.

More info about us can be found on logicsistemi.it.

Hotel Sentiment dà voce agli albergatori utilizzando XWCM

Da pochi giorni è nato un nuovo progetto web fortemente schierato dalla parte degli albergatori e dei gestori di strutture ricettive: Hotel Sentiment.
 
Il portale, per il momento disponibile esclusivamente in italiano, si propone di ribaltare i ruoli e fornire a chiunque gestisca un Hotel, un Bed & breakfast o un Agriturismo un metodo per commentare e scambiare opinioni su quelle OTA (Online Travel Agencies) che, sempre più, rappresentano un vero e proprio riferimento nel mercato del turismo.

PHP applications and character encoding

Programmers who write applications that manage informations in diffferent languages must deal with the problem of character encodings and with the correct way to handle them.

This problem is enphasized in web applications, because they rely on different systems which have their own character set. The main encodings to consider are the following:

  • the encoding used by the filesystem of the server
  • the encoding of the web server
  • the encoding declared in the web pages
  • the encoding used by the browser
  • the encoding used to access the external database
  • the encoding used by the database server to store informations

In this post we analyze the development of a PHP application using an Apache web server installed on Linux and a PostgreSQL database server.