Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Add Special Characters

Asked Modified Viewed 7,777 times
V
Vyper69
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
asked
Senior Member

I was wanting to know how I could add 2 extra characters to allowed characters. The 2 I want to add are [ ]. Can someone point me in the right direction as to what to edit. thanks
0 replies

29 posts

F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

Update, I just noticed, I mixed the charsets some.
Please use the mod you had where it worked first time ( except a few chars )
And use this one in your global, note the small change from 1250 to 1252 , crossing my fingers for ya ;) But in worse case, follow the below guide.


// Locale Settings Windows Charset mode
setlocale(LC_ALL, 'cs_CZ');
$locale['charset'] = "Windows-1252";
$locale['xml_lang'] = "cs";
$locale['tinymce'] = "cs";
$locale['phpmailer'] = "cs";


Be careful in what charset you save your files.
Make certain that you save it in on Windows-1250 ( your text files )
If you do not know what format you run you need to get Notepad++ or similar
Windows 1250 is ANSI there, use the conver to to ANSI function and edit in ANSI format settings.

In some labs I have done I have noticed that special characters does not always work well in UTF-8 and certain locale combos.

If you first run this ,

// Locale Settings Windows Charset mode
setlocale(LC_ALL, 'cs_CZ');
$locale['charset'] = "Windows-1250";
$locale['xml_lang'] = "cs";
$locale['tinymce'] = "cs";
$locale['phpmailer'] = "cs";


And also run thru the preg_match scenarios you have in previous posts, even hardcoded characters.

Double check your files so they are saved with correct format and start with \w switch, it is supose to work with global.

If nothing works with the above you can try to to do the same with the utf8 combo, once again convert and save your files in utf8.
Edited by N/A on 23-05-2014 17:28,
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 29 posts
  • Votes 0 votes
  • Topic users 6 members

6 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
A
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
V
V
Unprecedented Times call for Unprecedented Measures
  • Senior Member, joined since
  • Contributed 551 posts on the community forums.
  • Started 146 threads in the forums
  • Started this discussions
C
C
  • Junior Member, joined since
  • Contributed 18 posts on the community forums.
  • Started 4 threads in the forums
A
A
Sorry for my bad english, still learning! smile
  • Newbie, joined since
  • Contributed 7 posts on the community forums.
  • Started 2 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet