Index: tests/phpunit/tests/formatting/RemoveAccents.php
===================================================================
--- tests/phpunit/tests/formatting/RemoveAccents.php	(revision 25852)
+++ tests/phpunit/tests/formatting/RemoveAccents.php	(working copy)
@@ -94,4 +94,64 @@
 
 		remove_filter( 'locale', array( $this, '_remove_accents_germanic_umlauts_cb' ) );
 	}
+	
+	public function _set_locale_to_danish() {
+		return 'da_DK';
+	}
+	
+	/**
+	 * @ticket 23907
+	 */
+	public function test_remove_danish_accents() {
+		add_filter( 'locale', array( $this, '_set_locale_to_danish' ) );
+		
+		$this->assertEquals( 'AeOeAaaeoeaa', remove_accents( 'ÆØÅæøå' ) );
+		
+		remove_filter( 'locale', array( $this, '_set_locale_to_danish' ) );
+	}
+	
+	public function _set_locale_to_swedish() {
+		return 'sv_SE';
+	}
+	
+	/**
+	 * @ticket 23907
+	 */
+	public function test_remove_swedish_accents() {
+		add_filter( 'locale', array( $this, '_set_locale_to_swedish' ) );
+		
+		$this->assertEquals( 'AeOeAaaeoeaa', remove_accents( 'ÆØÅæøå' ) );
+		
+		remove_filter( 'locale', array( $this, '_set_locale_to_swedish' ) );
+	}
+	
+	public function _set_locale_to_norwegian_bokmaal() {
+		return 'nb_NO';
+	}
+	
+	/**
+	 * @ticket 23907
+	 */
+	public function test_remove_norwegian_bokmaal_accents() {
+		add_filter( 'locale', array( $this, '_set_locale_to_norwegian_bokmaal' ) );
+		
+		$this->assertEquals( 'AeOeAaaeoeaa', remove_accents( 'ÆØÅæøå' ) );
+		
+		remove_filter( 'locale', array( $this, '_set_locale_to_norwegian_bokmaal' ) );
+	}
+	
+	public function _set_locale_to_norwegian_nynorsk() {
+		return 'nn_NO';
+	}
+	
+	/**
+	 * @ticket 23907
+	 */
+	public function test_remove_norwegian_nynorsk_accents() {
+		add_filter( 'locale', array( $this, '_set_locale_to_norwegian_nynorsk' ) );
+		
+		$this->assertEquals( 'AeOeAaaeoeaa', remove_accents( 'ÆØÅæøå' ) );
+		
+		remove_filter( 'locale', array( $this, '_set_locale_to_norwegian_nynorsk' ) );
+	}
 }
