vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Character Problem (https://vborg.vbsupport.ru/showthread.php?t=200145)

dengbej 12-30-2008 12:28 AM

Character Problem
 
Hi friends.

i have a got a problem.

i converted phpbb board to vbulletin by impex.Now i must download turkish language pack on board.But boards's charset UTF-8.When i changed turkish pack's xml(iso-8859-9 to utf-8),board was error.Please help me this problem.

Marco van Herwaarden 12-30-2008 09:13 AM

You should never change a language xml file to change the characterset.

dengbej 12-30-2008 01:22 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1697055)
You should never change a language xml file to change the characterset.

but i read article about this

http://www.vbulletin.com/forum/showp...28&postcount=6

Original code in XML

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<language name="Tr-Turkce" vbversion="3.6.0" product="vbulletin" type="custom">
 <settings>
  <options><![CDATA[1]]></options>
  <languagecode><![CDATA[tr]]></languagecode>
  <charset><![CDATA[ISO-8859-9]]></charset>

Changed Code

Code:

<?xml version="1.0" encoding="UTF-8"?>
<language name="Tr-Turkce" vbversion="3.6.0" product="vbulletin" type="custom">
 <settings>
  <options><![CDATA[1]]></options>
  <languagecode><![CDATA[tr]]></languagecode>
  <charset><![CDATA[UTF-8]]></charset>

is this impossible?i made this but was error :( please help me...

Marco van Herwaarden 01-01-2009 11:58 AM

You would need to ask the person who posted those instructions. But AFAIK this would not work. What you are doing is telling the XML-file that it's contents are encoding in characterset X where in reality they are encoded in characterset Y.

The data should be converted to the new characterset and then exported into a new language file.


All times are GMT. The time now is 10:33 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01867 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete