Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support UTF-8 in RPSL Objects #1576

Draft
wants to merge 34 commits into
base: master
Choose a base branch
from
Draft

Support UTF-8 in RPSL Objects #1576

wants to merge 34 commits into from

Conversation

eshryane
Copy link
Member

@eshryane eshryane commented Oct 29, 2024

Change the default character set in RPSL objects from Latin-1 to UTF-8.

…column will need to be converted to utf8 separately (e.g. using MySQL CONVERT).
Conflicts:
	whois-api/src/main/java/net/ripe/db/whois/api/wsearch/LogSearchService.java
	whois-client/src/main/java/net/ripe/db/whois/common/rpsl/RpslAttribute.java
	whois-client/src/test/java/net/ripe/db/whois/common/rpsl/RpslObjectTest.java
	whois-commons/src/main/java/net/ripe/db/whois/common/rpsl/RpslObjectBuilder.java
	whois-commons/src/main/resources/pending_schema.sql
	whois-commons/src/main/resources/scheduler_schema.sql
	whois-commons/src/main/resources/whois_schema.sql
	whois-commons/src/test/java/net/ripe/db/whois/common/dao/jdbc/DatabaseHelper.java
	whois-commons/src/test/java/net/ripe/db/whois/common/support/DummyWhoisClient.java
	whois-endtoend/src/test/java/net/ripe/db/whois/WhoisFixture.java
	whois-query/src/test/java/net/ripe/db/whois/query/integration/SimpleTestIntegration.java
	whois-update/src/main/java/net/ripe/db/whois/update/keycert/PgpPublicKeyWrapper.java
	whois-update/src/main/java/net/ripe/db/whois/update/keycert/X509CertificateWrapper.java
Conflicts:
	whois-client/src/test/java/net/ripe/db/whois/common/rpsl/RpslObjectTest.java
	whois-endtoend/src/test/groovy/net/ripe/db/whois/spec/integration/MailMessageIntegrationSpec.groovy
Conflicts:
	whois-api/src/test/java/net/ripe/db/whois/api/rest/SyncUpdatesServiceTestIntegration.java
	whois-api/src/test/java/net/ripe/db/whois/api/rest/WhoisRestServiceTestIntegration.java
	whois-commons/src/main/resources/whois_schema.sql
	whois-endtoend/src/test/groovy/net/ripe/db/whois/spec/integration/MailMessageIntegrationSpec.groovy
	whois-update/src/main/java/net/ripe/db/whois/update/domain/UpdateMessages.java
	whois-update/src/main/java/net/ripe/db/whois/update/handler/SingleUpdateHandler.java
Ref. "How to support full Unicode in MySQL databases" https://mathiasbynens.be/notes/mysql-utf8mb4
Ref. "In MySQL, never use “utf8”. Use “utf8mb4”." https://medium.com/@adamhooper/in-mysql-never-use-utf8-use-utf8mb4-11761243e434
…e; removed non-existant snapshot_object table; use 'utf8mb4' and not 'utf8'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant