Jump to content

Domain registration


Petya

Recommended Posts

There was a following problem.

 

For the client in the profile in the field "Address 1" it is entered "Sättarevägen", all data is stored in the database in UTF-8 (utf8_general_ci).

Was written module for domain registrar. When called function of registration of the domain template_RegisterDomain() function receives the array of parametres $params is called, but thus all UTF-8 characters in this array "broken". As a result, the element of the array $params['address1'] there will be data "SA�ttarevA�gen", instead of necessary "Sättarevägen".

 

Whether it is possible as that to correct, what in the array $params would be correct UTF-8 characters?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated