Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 15:03

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Is there a database to store posts in any national language?

Discussion on Is there a database to store posts in any national language? within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2014
Posts: 207
Received Thanks: 4
Is there a database to store posts in any national language?

Is there a database to store posts in any national language or who sent a tutorial, thank you very much
mobai520 is offline  
Old 04/01/2019, 19:27   #2
 
Nιgнтмαяε's Avatar
 
elite*gold: 0
Join Date: Jul 2018
Posts: 434
Received Thanks: 310
Why do you keep making the same post over and over with different topic names?

No one is going to help you convert the **** to Chinese.
Nιgнтмαяε is offline  
Old 04/01/2019, 20:26   #3
 
elite*gold: 0
Join Date: Aug 2014
Posts: 207
Received Thanks: 4
Quote:
Originally Posted by Nιgнтмαяε View Post
Why do you keep making the same post over and over with different topic names?

No one is going to help you convert the **** to Chinese.
Sorry. No, I just want someone to have a tutorial, or have the same post.
mobai520 is offline  
Old 04/03/2019, 11:05   #4
 
elite*gold: 0
Join Date: Jan 2017
Posts: 301
Received Thanks: 28
*LAUGHING*
KingKeesie is offline  
Old 04/03/2019, 11:53   #5
 
elite*gold: 50
Join Date: Jun 2015
Posts: 100
Received Thanks: 210
Delete all databases - > recreate them using a Chinese collation -> change your applications codepages to a Chinese one.
Thats most likely all you have to do
ディオニュソス is offline  
Old 04/03/2019, 19:33   #6
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Quote:
Originally Posted by ディオニュソス View Post
Delete all databases - > recreate them using a Chinese collation -> change your applications codepages to a Chinese one.
Thats most likely all you have to do
He wants to support multiple languages, so only changing the collation won't do the trick.

Like I've stated multiple times in some of OP's threads, using Unicode columns and variables in stored procedures, he achieves what he wants (or at least the database part of it is done - speaking about the c++ code: I don't know what changes have to be made):



As you can see, the 'non_unicode' column can't handle the korean characters, but every other column can (regardless of the collaction in case of nvarchar columns). Also, the N' prefix is indispensable when using unicode.

When SQL Server 2019 is released, char columns/variables with collations using the '_UTF8' suffix will also support unicode characters. But I'd always go the nvarchar way.
xTwiLightx is offline  
Old 04/03/2019, 22:24   #7
 
elite*gold: 50
Join Date: Jun 2015
Posts: 100
Received Thanks: 210
Quote:
Originally Posted by xTwiLightx View Post
He wants to support multiple languages, so only changing the collation won't do the trick.

Like I've stated multiple times in some of OP's threads, using Unicode columns and variables in stored procedures, he achieves what he wants (or at least the database part of it is done - speaking about the c++ code: I don't know what changes have to be made):



As you can see, the 'non_unicode' column can't handle the korean characters, but every other column can (regardless of the collaction in case of nvarchar columns). Also, the N' prefix is indispensable when using unicode.

When SQL Server 2019 is released, char columns/variables with collations using the '_UTF8' suffix will also support unicode characters. But I'd always go the nvarchar way.
I very much doubt that's what he wants, all he wants is store chinese characters, he just has his speech upped to 100 so nobody understands him unless they have reached the same level of eloquence.
ディオニュソス is offline  
Old 04/03/2019, 22:33   #8
 
elite*gold: 0
Join Date: Aug 2014
Posts: 207
Received Thanks: 4
Quote:
Originally Posted by ディオニュソス View Post
Delete all databases - > recreate them using a Chinese collation -> change your applications codepages to a Chinese one.
Thats most likely all you have to do
Thank you, but re-establish, I won't

Quote:
Originally Posted by xTwiLightx View Post
He wants to support multiple languages, so only changing the collation won't do the trick.

Like I've stated multiple times in some of OP's threads, using Unicode columns and variables in stored procedures, he achieves what he wants (or at least the database part of it is done - speaking about the c++ code: I don't know what changes have to be made):



As you can see, the 'non_unicode' column can't handle the korean characters, but every other column can (regardless of the collaction in case of nvarchar columns). Also, the N' prefix is indispensable when using unicode.

When SQL Server 2019 is released, char columns/variables with collations using the '_UTF8' suffix will also support unicode characters. But I'd always go the nvarchar way.
Yes, my problem is this.

Quote:
Originally Posted by ディオニュソス View Post
I very much doubt that's what he wants, all he wants is store chinese characters, he just has his speech upped to 100 so nobody understands him unless they have reached the same level of eloquence.
Yes, I want this.

Quote:
Originally Posted by xTwiLightx View Post
He wants to support multiple languages, so only changing the collation won't do the trick.

Like I've stated multiple times in some of OP's threads, using Unicode columns and variables in stored procedures, he achieves what he wants (or at least the database part of it is done - speaking about the c++ code: I don't know what changes have to be made):



As you can see, the 'non_unicode' column can't handle the korean characters, but every other column can (regardless of the collaction in case of nvarchar columns). Also, the N' prefix is indispensable when using unicode.

When SQL Server 2019 is released, char columns/variables with collations using the '_UTF8' suffix will also support unicode characters. But I'd always go the nvarchar way.

This is the name I created in Chinese, click on it and click here.
mobai520 is offline  
Old 04/04/2019, 03:18   #9
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Quote:
Originally Posted by ディオニュソス View Post
I very much doubt that's what he wants, all he wants is store chinese characters, he just has his speech upped to 100 so nobody understands him unless they have reached the same level of eloquence.
The thread title even says "ANY national lanuage"

Quote:
Originally Posted by mobai520 View Post

This is the name I created in Chinese, click on it and click here.
If you just want chinese, go on and set the collation to a chinese one on database or server level and re-create the databases.

To see what collations are available on your server, execute the following query:
Code:
select * from sys.fn_helpcollations()
where [name] like 'Chinese%'
For me, the results look like that:


See what fits your requirements, the collation is mainly for the sort order of characters. But that could be different for a complex language like chinese.

Set your codepage everywhere to the one used for chinese
- see
xTwiLightx is offline  
Old 04/04/2019, 04:02   #10
 
elite*gold: 0
Join Date: Aug 2014
Posts: 207
Received Thanks: 4
Quote:
Originally Posted by xTwiLightx View Post
The thread title even says "ANY national lanuage"


If you just want chinese, go on and set the collation to a chinese one on database or server level and re-create the databases.

To see what collations are available on your server, execute the following query:
Code:
select * from sys.fn_helpcollations()
where [name] like 'Chinese%'
For me, the results look like that:


See what fits your requirements, the collation is mainly for the sort order of characters. But that could be different for a complex language like chinese.

Set your codepage everywhere to the one used for chinese
- see
Thank you, the main thing is that I won't



Use this to use this
mobai520 is offline  
Old 04/04/2019, 12:33   #11
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Quote:
Originally Posted by mobai520 View Post
Thank you, the main thing is that I won't



Use this to use this
Our results don't have to be the same - you have to decide what collation you need. I am not into the chinese language, so you'll have to go trough that list and choose the one that fits your requirements.

After that, you can check this site which covers a few scenarios when changing the collation:
xTwiLightx is offline  
Old 04/04/2019, 14:51   #12
 
elite*gold: 0
Join Date: Aug 2014
Posts: 207
Received Thanks: 4
Quote:
Originally Posted by xTwiLightx View Post
Our results don't have to be the same - you have to decide what collation you need. I am not into the chinese language, so you'll have to go trough that list and choose the one that fits your requirements.

After that, you can check this site which covers a few scenarios when changing the collation:

Thank you, I changed the database after the method is damaged, can not be used. This is a backup database, you can try to help me see it.




USE master;
GO

-- Set to single-user mode
ALTER DATABASE [CHARACTER_01_DBF]
SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO

-- change collation
ALTER DATABASE [CHARACTER_01_DBF]
COLLATE Chinese_PRC_CI_AS;
GO

-- Set to multi-user mode
ALTER DATABASE [CHARACTER_01_DBF]
SET MULTI_USER WITH ROLLBACK IMMEDIATE;
GO

--Verify the collation setting.
SELECT name, collation_name
FROM sys.databases
WHERE name = N'm_szName';
GO

Message 5075, Level 16, State 1, Line 10
The object 'fn_item2row' depends on the database collation. If the object bound to the schema depends on a database collation, you cannot change the database collation. Please remove the dependency of the database collation and retry the operation.
Message 5072, Level 16, State 1, Line 10
ALTER DATABASE failed. The default collation for the database 'CHARACTER_01_DBF' cannot be set to Chinese_PRC_CI_AS.

(0 rows affected)
mobai520 is offline  
Old 04/04/2019, 15:45   #13
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
It seems you'll have to re-create the database and execute the scripts to create the tables and procedures after that.
xTwiLightx is offline  
Old 04/04/2019, 16:24   #14
 
elite*gold: 0
Join Date: Aug 2014
Posts: 207
Received Thanks: 4
Quote:
Originally Posted by xTwiLightx View Post
It seems you'll have to re-create the database and execute the scripts to create the tables and procedures after that.
It should be re-established. Can you help me? Thank you.
mobai520 is offline  
Old 04/15/2019, 16:45   #15
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Quote:
Originally Posted by mobai520 View Post
It should be re-established. Can you help me? Thank you.
I can't. I already gave a handful of tips to get chinese language to work.
xTwiLightx is offline  
Reply


Similar Threads Similar Threads
Missverständnis-Posts/Lustige Posts (Zitate)
11/10/2010 - Off Topic - 2 Replies
Kp, obs das schon gibt, aber hatte mal die Idee, son Thread aufzumachen, wo Lustige Zitate, wie zB das von mir: rein kommen. Wenns euch gefällt postet und wenn ihr wollt gebt mir ein THX für die Idee ;) (wenns den Fred noch nich gibt :D) MfG



All times are GMT +1. The time now is 15:03.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.